[med-svn] r2428 - trunk/packages/insighttoolkit/trunk/debian

smr at alioth.debian.org smr at alioth.debian.org
Sun Aug 24 12:51:54 UTC 2008


Author: smr
Date: 2008-08-24 12:51:54 +0000 (Sun, 24 Aug 2008)
New Revision: 2428

Modified:
   trunk/packages/insighttoolkit/trunk/debian/rules
Log:
Fix the get-orig-source rule: the Debian tar ball needs underscore before version, not dash.

Modified: trunk/packages/insighttoolkit/trunk/debian/rules
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/rules	2008-08-24 12:42:17 UTC (rev 2427)
+++ trunk/packages/insighttoolkit/trunk/debian/rules	2008-08-24 12:51:54 UTC (rev 2428)
@@ -9,7 +9,8 @@
 VER_PATCH = 0
 
 UPSTREAM_SRC = InsightToolkit-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
-DEBIAN_SRC = insighttoolkit-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
+DEBIAN_SRC_DIR = insighttoolkit-$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
+DEBIAN_SRC_TAR = insighttoolkit_$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH).orig.tar.gz
 
 pkg_lib = libinsighttoolkit$(VER_MAJOR).$(VER_MINOR)
 pkg_dev = libinsighttoolkit$(VER_MAJOR)-dev
@@ -89,6 +90,6 @@
 	tar xzf $(UPSTREAM_SRC).tar.gz
 	find $(UPSTREAM_SRC) -name CVS -o -name Patented | xargs rm -rf
 	rm -rf $(UPSTREAM_SRC)/Code/Review
-	mv $(UPSTREAM_SRC) $(DEBIAN_SRC)
-	tar czf $(DEBIAN_SRC).orig.tar.gz $(DEBIAN_SRC)
+	mv $(UPSTREAM_SRC) $(DEBIAN_SRC_DIR)
+	tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR)
 




More information about the debian-med-commit mailing list