[med-svn] r6884 - trunk/packages/ncbi-blast-plus/trunk/debian

Aaron M. Ucko ucko at alioth.debian.org
Sun May 29 15:12:55 UTC 2011


Author: ucko
Date: 2011-05-29 15:12:54 +0000 (Sun, 29 May 2011)
New Revision: 6884

Modified:
   trunk/packages/ncbi-blast-plus/trunk/debian/rules
Log:
Rework override_dh_clean to clean *all* files produced at build time.


Modified: trunk/packages/ncbi-blast-plus/trunk/debian/rules
===================================================================
--- trunk/packages/ncbi-blast-plus/trunk/debian/rules	2011-05-29 15:10:55 UTC (rev 6883)
+++ trunk/packages/ncbi-blast-plus/trunk/debian/rules	2011-05-29 15:12:54 UTC (rev 6884)
@@ -59,7 +59,12 @@
 
 override_dh_clean:
 	dh_clean
-	find . -name ncbiconf_unix.h | xargs rm -f
+	-for x in c++/src/objects/*/*.files; do \
+	    (cd `dirname $$x`  &&  ../../../BUILD/build/new_module.sh \
+		`basename $$x .files`.module purge_sources); \
+	done
+	rm -rf c++/BUILD c++/compilers/dll c++/config.log c++/Makefile
+	rm -f c++/src/objects/blastxml/blastxml.module
 
 %:
 	dh $@ --with quilt --sourcedir=$(SOURCEDIR)




More information about the debian-med-commit mailing list