From 16f2ad9717a796b0c157f77f44031b4d7c84dd5b Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 2 Nov 2020 07:41:30 +0100 Subject: [PATCH] buildsys: improve clean target Signed-off-by: Thomas Lamprecht --- Makefile | 1 + src/Makefile | 4 ++++ 2 files changed, 5 insertions(+) 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 -- 2.39.2