diff options
author | John Kacur <jkacur@redhat.com> | 2013-02-08 15:18:02 +0100 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2013-02-15 14:46:10 +0100 |
commit | d29d951dbe3c9ae8144f9a25f37f4009302f675d (patch) | |
tree | ec9ea9687fc59aec88264853a8e19d3469ce9f95 | |
parent | 0918c34effecae2c21b3eb28fb6d3712dc751863 (diff) | |
download | rt-tests-d29d951dbe3c9ae8144f9a25f37f4009302f675d.tar.gz |
Makefile: Add tmp dir to distclean and "make release" call distclean
The files in the tmp dir are generated during make release.
These are the kind of generated files that should be removed for distclean,
So add tmp. make release can be slightly simplified by then depending
on distclean instead of clean.
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 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -113,7 +113,7 @@ clean: .PHONY: distclean distclean: clean - rm -rf BUILD RPMS SRPMS releases *.tar.gz rt-tests.spec + rm -rf BUILD RPMS SRPMS releases *.tar.gz rt-tests.spec tmp .PHONY: changelog changelog: @@ -143,9 +143,9 @@ install: all gzip src/hackbench/hackbench.8 -c >"$(DESTDIR)$(mandir)/man8/hackbench.8.gz" .PHONY: release -release: clean changelog +release: distclean changelog mkdir -p releases - rm -rf tmp && mkdir -p tmp/rt-tests + mkdir -p tmp/rt-tests cp -r Makefile COPYING ChangeLog src tmp/rt-tests tar -C tmp -czf rt-tests-$(VERSION_STRING).tar.gz rt-tests rm -f ChangeLog |