From cc7b99bf4e533a061b30becee9d51552bc3b908b Mon Sep 17 00:00:00 2001 From: John Kacur Date: Fri, 8 Feb 2013 15:27:24 +0100 Subject: Makefile: Add BUILDROOT and SPECS to the dirs to remove for distclean 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 Reviewed-by: Frank Rowand Tested-by: Frank Rowand --- 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: -- cgit 1.2.3-korg