summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-16 21:12:12 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-16 21:15:46 +0200
commita7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0 (patch)
tree47c0180d57d94c6e6bbaba3b4929fc6a20516f0a /Makefile.am
parent70449379def39da2a3efbd7c7da27a4745702b08 (diff)
units: automatically generated syslog.target
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 963c64838e..780ded62fa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -80,11 +80,13 @@ dist_systemunit_DATA = \
systemunit_DATA = \
units/systemd-initctl.service \
- units/systemd-logger.service
+ units/systemd-logger.service \
+ units/syslog.target
EXTRA_DIST = \
units/systemd-initctl.service.in \
units/systemd-logger.service.in \
+ units/syslog.target.in \
LICENSE \
README
@@ -281,12 +283,18 @@ units/systemd-logger.service: units/systemd-logger.service.in Makefile
-e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
< $< > $@
+units/syslog.target: units/syslog.target.in Makefile
+ $(MKDIR_P) units
+ $(SED) -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \
+ < $< > $@
+
CLEANFILES = \
src/systemd-interfaces.c \
src/systemctl.c \
src/systemadm.c \
units/systemd-initctl.service \
- units/systemd-logger.service
+ units/systemd-logger.service \
+ units/syslog.target
if HAVE_XSLTPROC
man/%.5: man/%.xml