[Glibc-bsd-commits] r3193 - trunk/kfreebsd-8/debian

Aurelien Jarno aurel32 at alioth.debian.org
Sun Nov 21 11:37:45 UTC 2010


Author: aurel32
Date: 2010-11-21 11:37:44 +0000 (Sun, 21 Nov 2010)
New Revision: 3193

Modified:
   trunk/kfreebsd-8/debian/rules
Log:
Call prune.sh in get-orig-source


Modified: trunk/kfreebsd-8/debian/rules
===================================================================
--- trunk/kfreebsd-8/debian/rules	2010-11-21 11:14:11 UTC (rev 3192)
+++ trunk/kfreebsd-8/debian/rules	2010-11-21 11:37:44 UTC (rev 3193)
@@ -8,7 +8,7 @@
 #export DH_VERBOSE=1
 
 full_version	:= $(shell dpkg-parsechangelog | grep ^Version: | sed -e 's/^.*: //g')
-tar_version	:= $(shell echo $(full_version) | sed -e 's/[+-].*//g')
+tar_version	:= $(shell echo $(full_version) | sed -e 's/-.*//g')
 version		:= $(shell echo $(full_version) | sed -e 's/[~+-].*//g')
 major           := $(shell echo $(version) | sed -e 's/\..*//g')
 revision	:= $(shell echo $(full_version) | sed -e 's/^[^+-]*//g')
@@ -40,6 +40,7 @@
 	for i in sys usr.sbin/config ; do \
 		svn export $(SVN)/$$i $(ORIG_DIR)/$$i ; \
 	done
+	cd $(ORIG_DIR) && $(CURDIR)/debian/prune.sh
 	tar --numeric-owner --owner 0 --group 0 -czf ../$(ORIG_TAR) $(ORIG_DIR)
 	rm -rf $(ORIG_DIR)
 




More information about the Glibc-bsd-commits mailing list