[med-svn] r15254 - trunk/packages/seqan/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Fri Nov 22 22:38:54 UTC 2013


Author: tille
Date: 2013-11-22 22:38:54 +0000 (Fri, 22 Nov 2013)
New Revision: 15254

Modified:
   trunk/packages/seqan/trunk/debian/rules
   trunk/packages/seqan/trunk/debian/seqan-dev.install
Log:
Building docs works now; uncomment parts of dh_install to proceed somehow for the moment


Modified: trunk/packages/seqan/trunk/debian/rules
===================================================================
--- trunk/packages/seqan/trunk/debian/rules	2013-11-22 21:40:05 UTC (rev 15253)
+++ trunk/packages/seqan/trunk/debian/rules	2013-11-22 22:38:54 UTC (rev 15254)
@@ -1,15 +1,18 @@
 #!/usr/bin/make -f
 
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+# Droping -fstack-protector flag helps **drastically** reducing memory consumption when building the package!!!!
+export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS | sed 's/-fstack-protector *//')
+
 %:
 	dh $@
 
-## dh does not seem to propagate the correct options to cmake configure step
-#%:
-#	dh $@ --parallel --buildsystem=cmake
+override_dh_auto_build:
+	dh_auto_build
+	cd obj-$(DEB_BUILD_GNU_TYPE); make docs
 
-# Droping -fstack-protector flag helps **drastically** reducing memory consumption when building the package!!!!
-export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS | sed 's/-fstack-protector *//')
-
 __makebuilddir::
 	# create backups of original *generated_forwards.h files to build twice in a row
 	for header in `find seqan -name "*generated_forwards.h"` ; do \
@@ -39,6 +42,7 @@
 
 override_dh_auto_clean:
 	dh_auto_clean
+	find . -type f -name "*.pyc" -delete
 	if [ -d orig ] ; then \
 	  for header in `find orig -name "*generated_forwards.h"` ; do \
 	    mv $${header} `echo $$header | sed 's?orig/??'` ; \

Modified: trunk/packages/seqan/trunk/debian/seqan-dev.install
===================================================================
--- trunk/packages/seqan/trunk/debian/seqan-dev.install	2013-11-22 21:40:05 UTC (rev 15253)
+++ trunk/packages/seqan/trunk/debian/seqan-dev.install	2013-11-22 22:38:54 UTC (rev 15254)
@@ -1,2 +1,2 @@
 docs/*		usr/share/doc/seqan-dev/html
-seqan 		usr/include
+# seqan 		usr/include




More information about the debian-med-commit mailing list