]> git.proxmox.com Git - pmg-docs.git/blobdiff - pmg-doc-generator.mk.in
installation: rephrase section "Other Repository Sources"
[pmg-docs.git] / pmg-doc-generator.mk.in
index eef5d824911d6aed3df453216372cab89b28dc3a..852735b5ebbcab5e12f4d6a487400171a1086a08 100644 (file)
@@ -1,5 +1,4 @@
-# also update debian/changelog
-DOCRELEASE=5.0
+DOCRELEASE=@RELEASE@
 
 DGDIR?=/usr/share/pmg-doc-generator
 
@@ -44,6 +43,10 @@ docinfo.xml:
        $(PERL_DOC_ENV) perl -I. ${DGDIR}/gen-$*-opts.pl >$@.tmp
        mv $@.tmp $@
 
+pmg.%-conf-opts.adoc: ${DGDIR}/gen-pmg.conf.5-opts.pl
+       $(PERL_DOC_ENV) perl -I. ${DGDIR}/gen-pmg.conf.5-opts.pl $* >$@.tmp
+       mv $@.tmp $@
+
 %.adoc: ${DGDIR}/gen-%-adoc.pl
        $(PERL_DOC_ENV) perl -I. ${DGDIR}/gen-$*-adoc.pl >$@.tmp
        mv $@.tmp $@
@@ -71,21 +74,18 @@ chapter-%.html: %.adoc ${PMG_COMMON_DOC_SOURCES}
 
 %.1: %.adoc %.1-synopsis.adoc ${PMG_COMMON_DOC_SOURCES}
        ${ASCIIDOC_PMG} compile-man -o $@ $*.adoc
-       test -n "$${NOVIEW}" || man -l $@
 
 %.1.html: %.adoc %.1-synopsis.adoc ${PMG_COMMON_DOC_SOURCES}
        ${ASCIIDOC_PMG} compile-man-html -o $@ $*.adoc
 
 %.8: %.adoc %.8-synopsis.adoc ${PMG_COMMON_DOC_SOURCES}
        ${ASCIIDOC_PMG} compile-man -o $@ $*.adoc
-       test -n "$${NOVIEW}" || man -l $@
 
 %.8.html: %.adoc %.8-synopsis.adoc ${PMG_COMMON_DOC_SOURCES}
        ${ASCIIDOC_PMG} compile-man-html -o $@ $*.adoc
 
 %.5: %.adoc %.5-opts.adoc ${PMG_COMMON_DOC_SOURCES}
        ${ASCIIDOC_PMG} compile-man -o $@ $*.adoc
-       test -n "$${NOVIEW}" || man -l $@
 
 %.5.html: %.adoc %.5-opts.adoc ${PMG_COMMON_DOC_SOURCES}
        ${ASCIIDOC_PMG} compile-man-html -o $@ $*.adoc