aboutsummaryrefslogtreecommitdiffstats
path: root/server.mk
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-11-17 23:13:35 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-11-17 23:13:35 +0800
commit66d47badff98208b1b1c5db1ce0db0d10f32de4b (patch)
tree4497ea820102d0c263631c4ef941b5908e2244c9 /server.mk
parente065bb0549a70249b253523181071508df7c3a46 (diff)
downloadgsoc2013-evolution-66d47badff98208b1b1c5db1ce0db0d10f32de4b.tar.gz
gsoc2013-evolution-66d47badff98208b1b1c5db1ce0db0d10f32de4b.tar.zst
gsoc2013-evolution-66d47badff98208b1b1c5db1ce0db0d10f32de4b.zip
use the server.mk file to get rules for building versioned .server files
2003-11-17 JP Rosevear <jpr@ximian.com> * configure.in: use the server.mk file to get rules for building versioned .server files * */Makefile.am: use simplified rule subst svn path=/trunk/; revision=23387
Diffstat (limited to 'server.mk')
-rw-r--r--server.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/server.mk b/server.mk
new file mode 100644
index 0000000000..acdc12bb65
--- /dev/null
+++ b/server.mk
@@ -0,0 +1,11 @@
+%.server.in: %.server.in.in
+ sed -e 's|\@BINDIR\@|$(bindir)|' \
+ -e 's|\@LIBEXECDIR\@|$(privlibexecdir)|' \
+ -e 's|\@COMPONENTDIR\@|$(componentdir)|' \
+ -e 's|\@IMPORTERSDIR\@|$(importersdir)|' \
+ -e 's|\@VERSION\@|$(BASE_VERSION)|' \
+ -e 's|\@INTERFACE_VERSION\@|$(INTERFACE_VERSION)|' $< > $@
+
+%_$(BASE_VERSION).server: %.server
+ mv $< $@
+