diff options
author | John Kacur <jkacur@redhat.com> | 2013-02-08 15:27:24 +0100 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2013-02-15 14:46:35 +0100 |
commit | cc7b99bf4e533a061b30becee9d51552bc3b908b (patch) | |
tree | 5cbe9aaea12e725ee8769b8eeeba389a031eb78f | |
parent | d29d951dbe3c9ae8144f9a25f37f4009302f675d (diff) | |
download | rt-tests-cc7b99bf4e533a061b30becee9d51552bc3b908b.tar.gz |
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 <jkacur@redhat.com>
Reviewed-by: Frank Rowand <frank.rowand@am.sony.com>
Tested-by: Frank Rowand <frank.rowand@am.sony.com>
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: |