[systemd-devel] [PATCH] docs: fix build without xsltproc

Koen Kooi koen at dominion.thruhere.net
Sun Oct 2 11:07:53 PDT 2011


Make would choke on missing rules for man/systemd.1

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
 Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index f4a17aa..fb48537 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -750,6 +750,7 @@ EXTRA_DIST += \
         src/dbus-loop.h \
         src/spawn-agent.h
 
+if HAVE_XSLTPROC
 MANPAGES = \
 	man/systemd.1 \
 	man/systemctl.1 \
@@ -844,6 +845,7 @@ EXTRA_DIST += \
 	$(XML_IN_FILES) \
 	${nodist_man_MANS:=.in} \
 	${XML_IN_FILES:.xml.in=.html.in}
+endif
 
 systemd_SOURCES = \
 	src/main.c
-- 
1.6.6.1



More information about the systemd-devel mailing list