[med-svn] r8437 - trunk/packages/neobio/trunk/debian

Andreas Tille tille at alioth.debian.org
Sat Nov 5 23:42:32 UTC 2011


Author: tille
Date: 2011-11-05 23:42:32 +0000 (Sat, 05 Nov 2011)
New Revision: 8437

Modified:
   trunk/packages/neobio/trunk/debian/rules
Log:
Once we are changing the content of the archive we can also delete unneeded stuff


Modified: trunk/packages/neobio/trunk/debian/rules
===================================================================
--- trunk/packages/neobio/trunk/debian/rules	2011-11-05 23:14:58 UTC (rev 8436)
+++ trunk/packages/neobio/trunk/debian/rules	2011-11-05 23:42:32 UTC (rev 8437)
@@ -12,7 +12,7 @@
 get-orig-source:
 	mkdir -p $(SRC_TMP)
 	[ -f $(ZIPF) ] || wget -q -O $(ZIPF)  http://sourceforge.net/projects/neobio/files/neobio/pre-alpha/neobio.zip
-	cd $(SRC_TMP) && unzip -q $(ZIPF) && mkdir neobio-$(VERSION) && mv bin data doc src neobio-$(VERSION)
+	cd $(SRC_TMP) && unzip -q $(ZIPF) && mkdir neobio-$(VERSION) && mv bin data doc src *.txt neobio-$(VERSION) && find neobio-$(VERSION) -name "*.class" -o -name "Thumbs.db" -delete && find neobio-$(VERSION) -empty -type d -delete
 	cd $(SRC_TMP) && GZIP="--best --no-name" tar -czf ../neobio_$(VERSION).orig.tar.gz neobio-$(VERSION)
 	rm -rf $(SRC_TMP)
 




More information about the debian-med-commit mailing list