From: John Kacur <jkacur@xxxxxxxxxx> make rpm creates the dirs BUILDROOT and SPECS that are missed by distclean. Gather all rpm related DIRS to the RPMDIRS and add that to distclean. Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ecc7386..25cfbfb 100644 --- a/Makefile +++ b/Makefile @@ -111,9 +111,10 @@ clean: rm -f hwlatdetect rm -f tags +RPMDIRS = BUILD BUILDROOT RPMS SRPMS SPECS .PHONY: distclean distclean: clean - rm -rf BUILD RPMS SRPMS releases *.tar.gz rt-tests.spec tmp + rm -rf $(RPMDIRS) releases *.tar.gz rt-tests.spec tmp .PHONY: changelog changelog: -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html