[med-svn] r10454 - trunk/packages/king/trunk/debian
Andreas Tille
tille at alioth.debian.org
Fri Apr 20 08:37:47 UTC 2012
Author: tille
Date: 2012-04-20 08:37:46 +0000 (Fri, 20 Apr 2012)
New Revision: 10454
Modified:
trunk/packages/king/trunk/debian/get-orig-source
Log:
Clean up the orig-tarball even more of useless and binary files which will be created in the build process anyway
Modified: trunk/packages/king/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/king/trunk/debian/get-orig-source 2012-04-20 08:31:50 UTC (rev 10453)
+++ trunk/packages/king/trunk/debian/get-orig-source 2012-04-20 08:37:46 UTC (rev 10454)
@@ -20,9 +20,13 @@
cd ../tarballs/$TARDIR
unzip -q ../../${NAME}.${VERSION}.src.zip
-# Remove useless JARs
+# Remove useless JAR and CLASS files
find . -name "*.jar" -delete
+find . -name "*.class" -delete
+# Remove javadocs which are recreated in the build process anyway
+rm -rf javadocs
+
# Remove useless dirs
rm -rf lib
find . -name .xvpics | xargs rm -rf
More information about the debian-med-commit
mailing list