From bb9bc9051629c3319c56785c2f4ae0e605d76329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 21 Nov 2015 14:51:17 +0100 Subject: Initial import of bitz-server version 0.1.6-1 --- conf/Makefile.am | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 conf/Makefile.am (limited to 'conf/Makefile.am') diff --git a/conf/Makefile.am b/conf/Makefile.am new file mode 100644 index 0000000..1dce407 --- /dev/null +++ b/conf/Makefile.am @@ -0,0 +1,26 @@ +## conf/ +configdir = $(sysconfdir)/bitz +config_DATA = bitz-server.conf + +# extra dist files +EXTRA_DIST = \ + bitz-server.conf.in + + +edit = sed \ + -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ + -e 's|@localstatedir[@]|$(localstatedir)|g' \ + -e 's|@pkglibdir[@]|$(pkglibdir)|g' + +bitz-server.conf: bitz-server.conf.in + rm -f $@ $@.tmp + srcdir=''; \ + test -f ./$@.in || srcdir=$(srcdir)/; \ + $(edit) $${srcdir}$@.in >$@.tmp + chmod +r $@.tmp + chmod og-wx $@.tmp + mv $@.tmp $@ + +clean-local: + rm -f *.conf + -- cgit v1.2.3