summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-03-16 01:25:32 +0100
committerLennart Poettering <lennart@poettering.net>2012-03-16 01:25:32 +0100
commit38cacf5acd082b6426e4778d242dc24bf10607ce (patch)
tree832b92634c8b8e027501bdc2ff7aeffbf3b503f1 /Makefile.am
parent5c3246b1a6bbe8c44210f7a73f0e030dcb21f7bb (diff)
man: make sure we ship HTML versions of the man pages in the tarball
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am18
1 files changed, 10 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index ea342bc839..dcce170d35 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -706,20 +706,23 @@ man/reboot.8: man/halt.8
man/poweroff.8: man/halt.8
man/init.1: man/systemd.1
+XML_FILES = \
+ ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
+
if ENABLE_MANPAGES
-dist_man_MANS = \
+man_MANS = \
$(MANPAGES) \
$(MANPAGES_ALIAS)
-XML_FILES = \
- ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}}
-
-dist_noinst_DATA = \
+noinst_DATA = \
${XML_FILES:.xml=.html}
+endif
EXTRA_DIST += \
- $(XML_FILES)
-endif
+ $(XML_FILES) \
+ ${XML_FILES:.xml=.html} \
+ $(MANPAGES) \
+ $(MANPAGES_ALIAS)
systemd_SOURCES = \
src/main.c
@@ -2491,7 +2494,6 @@ DISTCHECK_CONFIGURE_FLAGS = \
--with-pamlibdir=$$dc_install_base/$(pamlibdir) \
--with-rootprefix=$$dc_install_base/$(prefix)
-
upload: all distcheck
cp -v systemd-$(VERSION).tar.xz /home/lennart/git.fedora/systemd/
scp systemd-$(VERSION).tar.xz fdo:/srv/www.freedesktop.org/www/software/systemd/