]> git.proxmox.com Git - pmg-api.git/commitdiff
buildsys: rework doc-gen cleanup and makefile inclusion
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Jun 2023 09:53:22 +0000 (11:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Jun 2023 09:53:22 +0000 (11:53 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/Makefile

index 32eac575a50f52f4d46f6e762e4e21104e8e5d7f..6571be1d9d59d1e59c15a462c1475331ba8f0ff3 100644 (file)
@@ -1,6 +1,4 @@
-# this requires package pmg-doc-generator
-export NOVIEW=1
-include /usr/share/pmg-doc-generator/pmg-doc-generator.mk
+-include /usr/share/pmg-doc-generator/pmg-doc-generator.mk
 
 DESTDIR=
 
@@ -216,8 +214,8 @@ check:
 
 .PHONY: clean
 clean:
-       make cleanup-docgen
-       make -C tests clean
+       $(MAKE) -C tests clean
+       rm -f *.xml.tmp *.1 *.5 *.8 *{synopsis,opts}.adoc docinfo.xml
        rm -f PMG/pmgcfg.pm
        rm -rf ${CONF_MANS} *.bash-completion *.service-bash-completion
        if test -d .git; then  rm -f PMG/pmgcfg.pm; fi