Mercurial > pidgin
comparison src/Makefile.am @ 13490:40c5d0508a1a
[gaim-migrate @ 15866]
This is a refactoring of the dbus service directory detection stuff. It was originally taken from guifications and that version had problem when a prefix was specificed to configure. Basically it would always try to install into the system directory regardless of --prefix. Anyways, this new code takes that into consideration.
Also, I changed the way gaim.service is generated. It's now created from a .in file and has been relocated to the top of the source tree.
committer: Tailor Script <tailor@pidgin.im>
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Sun, 12 Mar 2006 21:09:16 +0000 |
parents | 696b06b33969 |
children | 52985bb3ec70 |
comparison
equal
deleted
inserted
replaced
13489:8b28c8bfb3c0 | 13490:40c5d0508a1a |
---|---|
155 value.h \ | 155 value.h \ |
156 version.h \ | 156 version.h \ |
157 xmlnode.h \ | 157 xmlnode.h \ |
158 whiteboard.h | 158 whiteboard.h |
159 | 159 |
160 | |
161 | |
162 if ENABLE_DBUS | 160 if ENABLE_DBUS |
163 | 161 |
164 CLEANFILES = \ | 162 CLEANFILES = \ |
165 dbus-bindings.c \ | 163 dbus-bindings.c \ |
166 dbus-client-binding.c \ | 164 dbus-client-binding.c \ |
206 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --keyword=enum --verbatim > $@ | 204 cat $(gaim_build_coreheaders) | $(PYTHON) $(srcdir)/dbus-analyze-types.py --keyword=enum --verbatim > $@ |
207 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client --headers >> $@ | 205 cat $(dbus_build_exported) | $(PYTHON) $(srcdir)/dbus-analyze-functions.py --client --headers >> $@ |
208 | 206 |
209 $(libgaim_client_la_OBJECTS): gaim-client-bindings.h gaim-client-bindings.c | 207 $(libgaim_client_la_OBJECTS): gaim-client-bindings.h gaim-client-bindings.c |
210 | 208 |
211 | |
212 # gaim-client-example | 209 # gaim-client-example |
213 | 210 |
214 gaim_client_example_SOURCES = gaim-client-example.c | 211 gaim_client_example_SOURCES = gaim-client-example.c |
215 | 212 |
216 gaim_client_example_DEPENDENCIES = @LIBOBJS@ libgaim-client.la | 213 gaim_client_example_DEPENDENCIES = @LIBOBJS@ libgaim-client.la |
226 gaim-client-example.$(OBJEXT): gaim-client-bindings.h | 223 gaim-client-example.$(OBJEXT): gaim-client-bindings.h |
227 | 224 |
228 # scripts | 225 # scripts |
229 | 226 |
230 bin_SCRIPTS = gaim-remote.py gaim-notifications-example.py gaim-send gaim-send-async | 227 bin_SCRIPTS = gaim-remote.py gaim-notifications-example.py gaim-send gaim-send-async |
231 | |
232 | |
233 # gaim.service | |
234 | |
235 gaim.service: | |
236 echo "[Gaim]" > $@ | |
237 echo "Name=net.sf.gaim.GaimService" >> $@ | |
238 echo "Exec=$(bindir)/gaim" >> $@ | |
239 | |
240 #Ideally, this directory should be autodetected, and the user should | |
241 #be able to specify it as an option to "configure" | |
242 dbus_sessiondir = $(DBUS_SESSION_DIR) | |
243 dbus_session_DATA = gaim.service | |
244 | 228 |
245 endif | 229 endif |
246 | 230 |
247 bin_PROGRAMS = gaim $(gaim_clientbP) | 231 bin_PROGRAMS = gaim $(gaim_clientbP) |
248 | 232 |