[med-svn] r11195 - trunk/packages/beast-mcmc/trunk/debian

Andreas Tille tille at alioth.debian.org
Mon Jun 4 13:31:40 UTC 2012


Author: tille
Date: 2012-06-04 13:31:40 +0000 (Mon, 04 Jun 2012)
New Revision: 11195

Modified:
   trunk/packages/beast-mcmc/trunk/debian/get-orig-source
Log:
Some more files (reliably) to remove; use xz instead of gz compression to save some MB of space


Modified: trunk/packages/beast-mcmc/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/beast-mcmc/trunk/debian/get-orig-source	2012-06-04 09:33:07 UTC (rev 11194)
+++ trunk/packages/beast-mcmc/trunk/debian/get-orig-source	2012-06-04 13:31:40 UTC (rev 11195)
@@ -46,6 +46,9 @@
     rm -rf ${TARDIR}/lib/$jar
 done
 
+# No source available for phylogeography
+find ${TARDIR} -mindepth 1 -maxdepth 1 -name "*phylogeography*" | xargs rm -rf
+
 rm -rf ${TARDIR}/release/Mac ${TARDIR}/release/Windows ${TARDIR}/release/Linux/lib/*
 
 # Remove all preprocessed (duplicated!) docs
@@ -53,13 +56,17 @@
 # remove preprocessed docs which can be recreated using LaTeX to make sure that we
 # really have the source and to save some disk space in source archive
 for pdf in \
-            'doc/Virus*Tex/Practical_BEAST.pdf' \
-            'doc/Virus*Tex/Practical_BEAST.aux' \
+            doc/SerialSampleCoalescent.pdf \
             doc/Yule.pdf \
-            doc/SerialSampleCoalescent.pdf \
+            doc/tutorial/EBSP/ebsp-tut.pdf \
+            doc/tutorial/StarBEAST/STARBEAST.pdf \
         ; do
     rm -rf ${TARDIR}/$pdf
 done
+# ... and every *.pdf named "Practical_<something>"
+find ${TARDIR}/doc -name "Practical_*.pdf" -delete
+# There is no point in keeping LaTeX's *.aux files
+find ${TARDIR}/doc -name "*.aux" -delete
 
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf "$NAME"_"$VERSION".orig.tar.gz "${TARDIR}"
+GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.xz "${TARDIR}"
 rm -rf "${NAME}"-"$VERSION"




More information about the debian-med-commit mailing list