aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/Makefile.am
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-16 06:05:13 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-16 06:05:13 +0800
commite0edfe0bcaf6b554b190f92a1eb358db3804af56 (patch)
treea58180295ce5c7f4d093bf3c4f0bc3a480e75d79 /my-evolution/Makefile.am
parent7bc5286b88e0e995571f3a320d2d467a0f72e9dd (diff)
downloadgsoc2013-evolution-e0edfe0bcaf6b554b190f92a1eb358db3804af56.tar.gz
gsoc2013-evolution-e0edfe0bcaf6b554b190f92a1eb358db3804af56.tar.zst
gsoc2013-evolution-e0edfe0bcaf6b554b190f92a1eb358db3804af56.zip
Added rule to generate GNOME_Evolution_Summary.server.in from
* Makefile.am: Added rule to generate GNOME_Evolution_Summary.server.in from GNOME_Evolution_Summary.server.in.in, substituting @LIBEXECDIR@. Also, install evolution-executive-summary in $libexecdir instead of $bindir. * GNOME_Evolution_Summary.server.in.in: Removed the @OAF_SHLIB_*@ stuff and added @LIBEXECDIR@/ to the executable's name instead. svn path=/trunk/; revision=18791
Diffstat (limited to 'my-evolution/Makefile.am')
-rw-r--r--my-evolution/Makefile.am12
1 files changed, 5 insertions, 7 deletions
diff --git a/my-evolution/Makefile.am b/my-evolution/Makefile.am
index afa40fe773..b05e0d3c8a 100644
--- a/my-evolution/Makefile.am
+++ b/my-evolution/Makefile.am
@@ -89,7 +89,7 @@ libevolution_executive_summary_la_LIBADD = \
else
-bin_PROGRAMS = evolution-executive-summary
+libexec_PROGRAMS = evolution-executive-summary
evolution_executive_summary_SOURCES = \
$(summary_sources) \
@@ -103,12 +103,12 @@ endif
Locationdir = $(datadir)/evolution
Location_DATA = Locations
-server_files = GNOME_Evolution_Summary.server
-server_in_files = $(server_files:.server=.server.in)
-server_in_in_files = $(server_files:.server=.server.in.in)
+server_in_files = GNOME_Evolution_Summary.server.in.in
serverdir = $(libdir)/bonobo/servers
-server_DATA = $(server_files)
+server_DATA = $(server_in_files:.server.in.in=.server)
+$(server_in_files:.server.in.in=.server.in): $(server_in_files)
+ sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@
gladedir = $(datadir)/evolution/glade
glade_DATA = my-evolution.glade
@@ -118,9 +118,7 @@ glade_DATA = my-evolution.glade
EXTRA_DIST = \
$(summary_sources) \
$(summary_exe_sources) \
- $(server_files) \
$(server_in_files) \
- $(server_in_in_files) \
$(server_DATA) \
$(Location_DATA) \
$(glade_DATA) \