entrance: sed entrance.conf.in to have sysconfdir path expanded

This commit is contained in:
Michael Bouchaud 2014-05-05 22:34:15 +00:00
parent 2f5b5333d4
commit 79b110aa3a
2 changed files with 5 additions and 1 deletions

View File

@ -202,7 +202,6 @@ src/Makefile
src/bin/Makefile
src/daemon/Makefile
data/Makefile
data/entrance.conf
data/themes/Makefile
data/themes/default/Makefile
])

View File

@ -27,6 +27,7 @@ sed_process = @SED@ \
-e 's,@includedir\@,$(includedir),g' \
-e 's,@pkgincludedir\@,$(pkgincludedir),g' \
-e 's,@SBINDIR\@,$(sbindir),g' \
-e 's,@SYSCONFDIR\@,$(sysconfdir),g' \
< $< > $@ || rm $@
pc_verbose = $(pc_verbose_@AM_V@)
@ -37,6 +38,10 @@ sudoers/entrance: $(top_srcdir)/data/sudoers/entrance.in Makefile
$(AM_V_at)rm -f $@
$(pc_verbose)$(sed_process)
entrance.conf: $(top_srcdir)/data/entrance.conf.in Makefile
$(AM_V_at)rm -f $@
$(pc_verbose)$(sed_process)
if HAVE_SYSTEMD
systemddir = /usr/lib/systemd/system/
systemd_DATA = entrance.service