]> git.proxmox.com Git - pve-docs.git/blobdiff - Makefile
Makefile: update - do not delete file pmxcfs.8-synopsis.adoc
[pve-docs.git] / Makefile
index 427591099a43cf61700b5e279dcc323c1c11e329..d1945919587c9c450544807c20595f9f17af63bc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ DOC_PACKAGE=pve-docs
 MEDIAWIKI_PACKAGE=pve-docs-mediawiki
 
 # also update debian/changelog
-PKGREL=8
+PKGREL=10
 
 GITVERSION:=$(shell cat .git/refs/heads/master)
 
@@ -30,7 +30,6 @@ include ./pve-doc-generator.mk
 GEN_DEB_SOURCES=                               \
        pve-doc-generator.mk                    \
        ${MANUAL_SOURCES}                       \
-       ${PVESM_ADOCSOURCES}                    \
        pmxcfs.8-synopsis.adoc                  \
        docinfo.xml
 
@@ -150,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