]> git.proxmox.com Git - pve-storage.git/commitdiff
buildsys: rework doc-gen cleanup and makefile inclusion
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 May 2023 11:53:18 +0000 (13:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 May 2023 11:53:18 +0000 (13:53 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

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