]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
buildsys: improve clean target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 Nov 2020 06:41:30 +0000 (07:41 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 Nov 2020 06:41:30 +0000 (07:41 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
src/Makefile

index aa8c0e3d2511d9a1c756e74789990fdd9c4b88c5..c0fe06daab097a13f3a00692aafde86d816b6471 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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 {} ';'
 
index 2117da59dc172acc7baf76000b96e698645fa2d0..2844841b0d6fb0bdde12dee2d8a1b8a3f7b89468 100644 (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