diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-08 09:58:29 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-09 08:47:50 -0500 |
commit | 86b4547712d5d8a67c269b3bd737393903c409e3 (patch) | |
tree | ca8dcd278f1d19055d8b23fda79eab6b481fda37 /Makefile.am | |
parent | f6354e8c113e9e6e63f4c517b9a2dbccacb9af64 (diff) |
build-sys: clean up make clean
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/Makefile.am b/Makefile.am index d85eb702c6..6634a8ca6b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -114,7 +114,6 @@ polkitpolicy_in_files = polkitpolicy_files = dist_udevrules_DATA = nodist_udevrules_DATA = -dist_man_MANS = dist_pkgsysconf_DATA = dist_pkgdata_DATA = dist_dbuspolicy_DATA = @@ -504,6 +503,8 @@ include Makefile-man.am XML_FILES = \ ${patsubst %.1,%.xml,${patsubst %.3,%.xml,${patsubst %.5,%.xml,${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}}}} +HTML_FILES = \ + ${XML_FILES:.xml=.html} if ENABLE_MANPAGES man_MANS = \ @@ -511,12 +512,11 @@ man_MANS = \ $(MANPAGES_ALIAS) noinst_DATA = \ - ${XML_FILES:.xml=.html} + $(HTML_FILES) CLEANFILES += \ - $(MANPAGES) \ - $(MANPAGES_ALIAS) \ - ${XML_FILES:.xml=.html} + $(man_MANS) \ + $(HTML_FILES) if HAVE_PYTHON noinst_DATA += \ @@ -549,15 +549,18 @@ EXTRA_DIST += \ man/index.html \ man/systemd.directives.xml +CLEANFILES += \ + man/systemd.index.xml \ + man/systemd.directives.xml + endif endif EXTRA_DIST += \ $(XML_FILES) \ - ${XML_FILES:.xml=.html} \ - $(MANPAGES) \ - $(MANPAGES_ALIAS) \ + $(HTML_FILES) \ + $(dist_MANS) \ make-man-index.py \ make-directive-index.py @@ -3624,7 +3627,6 @@ EXTRA_DIST += \ CLEANFILES += \ $(nodist_systemunit_DATA) \ $(nodist_userunit_DATA) \ - $(nodist_man_MANS) \ $(pkgconfigdata_DATA) \ $(pkgconfiglib_DATA) \ $(nodist_polkitpolicy_DATA) @@ -3664,10 +3666,6 @@ man/%.8: man/%.xml man/%.html: man/%.xml man/custom-html.xsl $(XSLTPROC_PROCESS_HTML) - -CLEANFILES += \ - $(dist_man_MANS) \ - ${XML_FILES:.xml=.html} endif # ------------------------------------------------------------------------------ |