From: Alan T. DeKok Date: Fri, 25 Dec 2020 15:13:49 +0000 (-0500) Subject: update and fix rules for installing "man" pages X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a581e65661ee24b93de3a03bb1a78f93786f7bdf;p=thirdparty%2Ffreeradius-server.git update and fix rules for installing "man" pages --- diff --git a/doc/all.mk b/doc/all.mk index 89e329a8090..b06985385bb 100644 --- a/doc/all.mk +++ b/doc/all.mk @@ -112,13 +112,15 @@ $(BUILD_DIR)/make/man.mk: $(ADOC2MAN_FILES) | $(BUILD_DIR)/make ${Q}for x in $^; do \ y=$$(grep :manvolnum: $$x | awk '{print $$2}'); \ z=$$(basename $$x | sed 's/.adoc//'); \ - echo "INSTALL_MAN_FILES += $(R)/$(mandir)/man$$y/$$z.$$y" >> $@; \ - echo "$(R)/$(mandir)/man$$y/$$z.$$y: $$x | $(R)/$(mandir)/man$$y" >> $@; \ - echo "\t"'asciidoctor -b manpage $$< > $$@' >> $@; \ + echo "INSTALL_MAN_FILES += $(R)$(mandir)/man$$y/$$z.$$y" >> $@; \ + echo "$(R)$(mandir)/man$$y/$$z.$$y: $$x | $(R)$(mandir)/man$$y" >> $@; \ + echo "\t"'@echo INSTALL-MAN $$(notdir $$@)' >> $@; \ + echo "\t"'@asciidoctor -b manpage $$< -o $$@' >> $@; \ echo "" >> $@; \ done -include $(BUILD_DIR)/make/man.mk +ALL_INSTALL += $(INSTALL_MAN_FILES) install.doc.man: $(INSTALL_MAN_FILES)