aboutsummaryrefslogtreecommitdiffstats
path: root/server.mk
diff options
context:
space:
mode:
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 $< $@
+