Makefile: update - do not delete file pmxcfs.8-synopsis.adoc
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 18 Oct 2016 05:13:27 +0000 (07:13 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 18 Oct 2016 05:13:27 +0000 (07:13 +0200)
This is not auto-generated, so we need to keep that file.

Makefile

index 812e7c9..d194591 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -149,7 +149,7 @@ upload: ${GEN_DEB} ${DOC_DEB} ${MEDIAWIKI_DEB}
 
 .PHONY: update
 update: clean
-       rm -f *.5-opts.adoc *.1-synopsis.adoc *.8-synopsis.adoc
+       find . -regex '.*-\(opts\|synopsis\)\.adoc' -not -name pmxcfs.8-synopsis.adoc -exec rm -f \{\} \;
        rm -f api-viewer/apidata.js
        rm -f pve-firewall-macros.adoc pct-network-opts.adoc pct-mountpoint-opts.adoc
        make all