man: Cleanup XML files
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Mar 2019 18:01:00 +0000 (20:01 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Mar 2019 18:01:00 +0000 (20:01 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am

index 26f2e9c..d79b0f2 100644 (file)
@@ -475,7 +475,8 @@ MANPAGES = \
        man/network-zone-wireless.8
 
 MANPAGES_TXT  = $(patsubst %.8,%.txt,$(MANPAGES))
-MANPAGES_HTML = $(patsubst %.txt,%.html,$(MANPAGES))
+MANPAGES_HTML = $(patsubst %.txt,%.html,$(MANPAGES_TXT))
+MANPAGES_XML  = $(patsubst %.txt,%.xml,$(MANPAGES_TXT))
 
 .PHONY: man
 man: $(MANPAGES) $(MANPAGES_HTML)
@@ -484,11 +485,13 @@ man_MANS = \
        $(MANPAGES)
 
 noinst_DATA += \
-       $(MANPAGES_HTML)
+       $(MANPAGES_HTML) \
+       $(MANPAGES_XML)
 
 CLEANFILES += \
        $(man_MANS) \
-       $(MANPAGES_HTML)
+       $(MANPAGES_HTML) \
+       $(MANPAGES_XML)
 
 EXTRA_DIST += \
        $(MANPAGES_TXT)