[yum-git] Makefile

Tim Lauridsen timlau at linux.duke.edu
Tue Aug 26 07:39:53 UTC 2008


 Makefile |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit a634bcd30bf28fd9e1c4b865544d28af0778f5f4
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date:   Tue Aug 26 09:39:36 2008 +0200

    Added separate 'test-cleanup' Makefile tag to make it easier to cleaup a
    failed 'make test-release'
    
    Use 'make test-release' to test that every thing builds ok.
    
    if something fails then use make 'test-cleanup' to cleanup

diff --git a/Makefile b/Makefile
index a4984b1..593786d 100644
--- a/Makefile
+++ b/Makefile
@@ -61,6 +61,10 @@ test-release:
 	@git-archive --format=tar --prefix=$(PKGNAME)-$(VERSION).test/ HEAD | gzip -9v >${PKGNAME}-$(VERSION).test.tar.gz
 	# Build RPMS
 	@rpmbuild -ta  ${PKGNAME}-${VERSION}.test.tar.gz
+	@$(MAKE) test-cleanup
+    
+
+test-cleanup:	
 	@rm -rf ${PKGNAME}-${VERSION}.test.tar.gz
 	@echo "Cleanup the git release-test local branch"
 	@git checkout -f



More information about the Yum-cvs-commits mailing list