buildsys: rework doc-gen cleanup and makefile inclusion

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2023-05-24 13:53:18 +02:00
parent 4059e94bfa
commit 8eabe46e14

View File

@ -18,9 +18,7 @@ GITVERSION:=$(shell git rev-parse HEAD)
DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
# this require package pve-doc-generator -include /usr/share/pve-doc-generator/pve-doc-generator.mk
export NOVIEW=1
include /usr/share/pve-doc-generator/pve-doc-generator.mk
all: all:
@ -64,9 +62,8 @@ test:
.PHONY: clean .PHONY: clean
clean: clean:
make cleanup-docgen rm -f *.xml.tmp *.1 *.5 *.8 *{synopsis,opts}.adoc docinfo.xml
rm -rf build *.deb *.buildinfo *.changes rm -rf build *.deb *.buildinfo *.changes
find . -name '*~' -exec rm {} ';'
.PHONY: distclean .PHONY: distclean
distclean: clean distclean: clean