entrance: sed entrance.conf.in to have sysconfdir path expanded
This commit is contained in:
parent
2f5b5333d4
commit
79b110aa3a
|
@ -202,7 +202,6 @@ src/Makefile
|
|||
src/bin/Makefile
|
||||
src/daemon/Makefile
|
||||
data/Makefile
|
||||
data/entrance.conf
|
||||
data/themes/Makefile
|
||||
data/themes/default/Makefile
|
||||
])
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue