buildsys: improve clean target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-11-02 07:41:30 +01:00
parent 7bb32b58d1
commit 16f2ad9717
2 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,7 @@ upload: ${DEB}
distclean: clean
clean:
$(MAKE) -C src clean
rm -rf ${BUILDDIR} ${BUILDDIR}.tmp *.tar.gz *.dsc *.deb *.changes *.buildinfo
find . -name '*~' -exec rm {} ';'

View File

@ -80,3 +80,7 @@ install: proxmoxlib.js
install -d -m 755 ${WWWBASEDIR}
install -m 0644 proxmoxlib.js ${WWWBASEDIR}
set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done
.PHONY: clean
clean:
rm -f proxmoxlib.js