From: Thomas Lamprecht Date: Mon, 26 Jun 2023 09:53:22 +0000 (+0200) Subject: buildsys: rework doc-gen cleanup and makefile inclusion X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=b716ff6250370663e95ec4594513fc0026c8f5e9;p=pmg-api.git buildsys: rework doc-gen cleanup and makefile inclusion Signed-off-by: Thomas Lamprecht --- diff --git a/src/Makefile b/src/Makefile index 32eac57..6571be1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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