changeset 78:66c5a24b62ec

[gaim-migrate @ 88] Touch-ups with the install for applet. Rather than all that extra stuff at the end of ./configure, all you need now is --enable-gnome. ./configure will figure out where gnome-config is and use that to determine where things should be installed. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 31 Mar 2000 20:22:12 +0000
parents b06013f863fb
children bfdc427b936d
files Makefile.am README sounds/Makefile.am
diffstat 3 files changed, 9 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Fri Mar 31 20:21:08 2000 +0000
+++ b/Makefile.am	Fri Mar 31 20:22:12 2000 +0000
@@ -4,16 +4,19 @@
 
 if GNOMEAPPLET
 
+gnomesysconf = `@GNOME_CONFIG@ --sysconfdir`
+gnomedata    = `@GNOME_CONFIG@ --datadir`
+
 gaim_GNORBA = gaim_applet.gnorba
-gaimgnorbadir  = $(sysconfdir)/CORBA/servers
+gaimgnorbadir  = $(gnomesysconf)/CORBA/servers
 gaimgnorba_DATA = $(gaim_GNORBA)
 
 gaim_DESKTOP = gaim_applet.desktop
-gaimdesktopdir = $(datadir)/applets/Network
+gaimdesktopdir = $(gnomedata)/applets/Network
 gaimdesktop_DATA = $(gaim_DESKTOP)
 
 gaim_SOUND = gaim_applet.soundlist
-gaimsounddir = $(sysconfdir)/sound/events
+gaimsounddir = $(gnomesysconf)/sound/events
 gaimsound_DATA = $(gaim_SOUND)
 
 endif
--- a/README	Fri Mar 31 20:21:08 2000 +0000
+++ b/README	Fri Mar 31 20:22:12 2000 +0000
@@ -33,9 +33,7 @@
 whatever.
 
 The panel (if you made an applet) requires certain things to be in certain
-places, I recommend running:
-./configure --enable-gnome --sysconfdir=`gnome-config --sysconfdir` \
---datadir=`gnome-config --datadir`
+places, but the Makefile/configure script should figure things out for you.
 
 Send me bug reports.  The web page is http://www.marko.net/gaim and the ftp
 site is ftp://ftp.marko.net/pub/gaim
--- a/sounds/Makefile.am	Fri Mar 31 20:21:08 2000 +0000
+++ b/sounds/Makefile.am	Fri Mar 31 20:22:12 2000 +0000
@@ -19,6 +19,7 @@
 	./au2h Receive.au Receive.h                  
 
 if GNOMEAPPLET
-gaimsoundsdir = $(datadir)/sounds/gaim
+gnomedata = `@GNOME_CONFIG@ --datadir`
+gaimsoundsdir = $(gnomedata)/sounds/gaim
 gaimsounds_DATA = $(EXTRA_DIST)
 endif