entrance: fix path in sudoers file

This commit is contained in:
Michael Bouchaud 2014-05-05 19:15:04 +00:00
parent 824620a77c
commit 2c9d5268a4
2 changed files with 8 additions and 5 deletions

View File

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

View File

@ -14,10 +14,6 @@ conf_DATA = entrance.conf Xsession
sudoersdir = $(sysconfdir)/sudoers.d sudoersdir = $(sysconfdir)/sudoers.d
sudoers_DATA = sudoers/entrance sudoers_DATA = sudoers/entrance
if HAVE_SYSTEMD
systemddir = /usr/lib/systemd/system/
systemd_DATA = entrance.service
sed_process = @SED@ \ sed_process = @SED@ \
-e 's,@VERSION\@,$(VERSION),g' \ -e 's,@VERSION\@,$(VERSION),g' \
-e 's,@VMAJ\@,$(VMAJ),g' \ -e 's,@VMAJ\@,$(VMAJ),g' \
@ -29,6 +25,14 @@ sed_process = @SED@ \
-e 's,@SBINDIR\@,$(sbindir),g' \ -e 's,@SBINDIR\@,$(sbindir),g' \
< $< > $@ || rm $@ < $< > $@ || rm $@
sudoers/entrance: $(top_srcdir)/data/sudoers/entrance.in Makefile
$(AM_V_at)rm -f $@
$(pc_verbose)$(sed_process)
if HAVE_SYSTEMD
systemddir = /usr/lib/systemd/system/
systemd_DATA = entrance.service
pc_verbose = $(pc_verbose_@AM_V@) pc_verbose = $(pc_verbose_@AM_V@)
pc_verbose_ = $(pc_verbose_@AM_DEFAULT_V@) pc_verbose_ = $(pc_verbose_@AM_DEFAULT_V@)
pc_verbose_0 = @echo " SED " $@; pc_verbose_0 = @echo " SED " $@;