]> git.proxmox.com Git - pve-access-control.git/commitdiff
buildsys: rework clean target, avoid doc-gen one
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 21 May 2023 09:42:21 +0000 (11:42 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 21 May 2023 10:37:11 +0000 (12:37 +0200)
1. this really doesn't change often
2. the synopsis and opts should be in the owner repo anyway
3. the original one simply deleted all *.adoc files, far to
   aggressive

Avoids pve-docs dependency for building the DSC (without having to
pass the ugly no-pre-clean option).

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/Makefile

index fefa157ef782e09e68b9bc7d8a44621ab9495374..987b4a82c9b0361c3af73c8bfc005cc9b832abb0 100644 (file)
@@ -50,5 +50,4 @@ test:
 .PHONY: clean distclean
 distclean: clean
 clean:
-       make cleanup-docgen
-       find . -name '*~' -exec rm {} ';'
+       rm -f *.xml.tmp *.1 *.5 *.8 *{synopsis,opts}.adoc docinfo.xml