Makefile: Fix building man-pages only
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Jun 2017 11:23:34 +0000 (12:23 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Jun 2017 11:23:34 +0000 (12:23 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am

index 7201a93..fc119b8 100644 (file)
@@ -87,6 +87,9 @@ ddnsdir = $(pythondir)/ddns
 
 # ------------------------------------------------------------------------------
 
+.PHONY: man
+man: $(MANPAGES) $(MANPAGES_HTML)
+
 if ENABLE_MANPAGES
 MANPAGES = \
        man/ddns.1 \
@@ -95,8 +98,6 @@ MANPAGES = \
 MANPAGES_XML  = $(patsubst %.1,%.xml,$(patsubst %.5,%.xml,$(MANPAGES)))
 MANPAGES_HTML = $(patsubst %.xml,%.html,$(MANPAGES_XML))
 
-man: $(MANPAGES) $(MANPAGES_HTML)
-
 man_MANS = \
        $(MANPAGES)