[rhmessaging-commits] rhmessaging commits: r1971 - mgmt.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Apr 24 09:43:34 EDT 2008


Author: justi9
Date: 2008-04-24 09:43:34 -0400 (Thu, 24 Apr 2008)
New Revision: 1971

Modified:
   mgmt/Makefile
Log:
Added a target to make a source tarball.

Remove some targets that weren't much use.



Modified: mgmt/Makefile
===================================================================
--- mgmt/Makefile	2008-04-24 13:07:53 UTC (rev 1970)
+++ mgmt/Makefile	2008-04-24 13:43:34 UTC (rev 1971)
@@ -1,6 +1,6 @@
 .PHONY: help dist clean cumin mint tags check-devel-env
 
-version := 0.1
+version := 0.1.$(shell svn info | fgrep "Revision:" | cut -d " " -f 2)
 
 help:
 	@echo "Targets:"
@@ -31,12 +31,11 @@
 	cp LICENSE COPYING dist/doc
 	tar -cvzf cumin-${version}.tar.gz dist
 
-cumin: mint
-	cd cumin && make install
+source-tarball:
+	svn export . /tmp/cumin-${version}
+	tar -C /tmp -czf cumin-${version}.tar.gz cumin-${version}
+	rm -rf /tmp/cumin-${version}
 
-mint:
-	cd mint && make install
-
 clean: check-devel-env
 	rm -rf dist
 	rm -rf "${DEVEL_HOME}"/install




More information about the rhmessaging-commits mailing list