[med-svn] r20004 - trunk/packages/phyml/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Thu Aug 27 14:00:36 UTC 2015


Author: tille
Date: 2015-08-27 14:00:35 +0000 (Thu, 27 Aug 2015)
New Revision: 20004

Modified:
   trunk/packages/phyml/trunk/debian/rules
Log:
Work around the removal of doc in distclean target


Modified: trunk/packages/phyml/trunk/debian/rules
===================================================================
--- trunk/packages/phyml/trunk/debian/rules	2015-08-27 12:45:29 UTC (rev 20003)
+++ trunk/packages/phyml/trunk/debian/rules	2015-08-27 14:00:35 UTC (rev 20004)
@@ -15,7 +15,9 @@
 	dh_auto_build -- LDFLAGS="$(LDFLAGS)"
 	# move phyml binary to temporary dir inside debian/
 	$(MAKE) prefix=$(CURDIR)/debian install
+	mv doc/phyml-manual.pdf .
 	$(MAKE) distclean
+	mv phyml-manual.pdf doc
 	dh_auto_configure -- --enable-phytime
 	dh_auto_build -- LDFLAGS="$(LDFLAGS)"
 
@@ -25,7 +27,10 @@
 	mv $(CURDIR)/debian/bin/* $(CURDIR)/debian/phyml/usr/bin
 
 override_dh_auto_clean:
+	# save pdf from cleaning
+	mv doc/phyml-manual.pdf .
 	dh_auto_clean
+	mv phyml-manual.pdf doc
 	# remove temporary bin dir for phyml (see above hack)
 	rm -rf debian/bin
 




More information about the debian-med-commit mailing list