]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
let's actually include the relevant make file
authorAlan T. DeKok <aland@freeradius.org>
Mon, 21 Dec 2020 22:20:09 +0000 (17:20 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 21 Dec 2020 22:20:38 +0000 (17:20 -0500)
and don't print out the commands we're using

doc/all.mk

index 33c703a4a5a7fbf332c41660a9e5919ea1567796..b4b1c4e4a0cf5c53299d5f2e3582f37d182bab52 100644 (file)
@@ -109,7 +109,7 @@ install.doc: $(addprefix $(R)/$(docdir)/,$(ALL_DOC_FILES))
 ADOC2MAN_FILES := $(filter-out %/index.adoc,$(wildcard doc/antora/modules/reference/pages/man/*.adoc))
 $(BUILD_DIR)/make/man.mk: $(ADOC2MAN_FILES) | $(BUILD_DIR)/make
        @rm -f $@
-       for x in $^; do \
+       @for x in $^; do \
                y=$$(grep :manvolnum: $$x | awk '{print $$2}'); \
                echo "INSTALL_MAN_FILES += $(R)/$(mandir)/man$$y/$$(basename $$x | sed 's/.adoc//' ).$$y" >> $@; \
                echo "$(R)/$(mandir)/man$$y/$$(basename $$x | sed 's/.adoc//' ).$$y: $$x | $(R)/$(mandir)/man$$y" >> $@; \
@@ -117,6 +117,8 @@ $(BUILD_DIR)/make/man.mk: $(ADOC2MAN_FILES) | $(BUILD_DIR)/make
                echo "" >> $@; \
        done
 
+-include $(BUILD_DIR)/make/man.mk
+
 install.doc.man: $(INSTALL_MAN_FILES)
 
 .PHONY: clean.doc