diff --git a/Makefile b/Makefile index aa8c0e3..c0fe06d 100644 --- 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 {} ';' diff --git a/src/Makefile b/src/Makefile index 2117da5..2844841 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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