r38453 - in /packages/flann/trunk/debian: control patches/series rules

malat-guest at users.alioth.debian.org malat-guest at users.alioth.debian.org
Thu Apr 28 07:43:12 UTC 2011


Author: malat-guest
Date: Thu Apr 28 07:43:05 2011
New Revision: 38453

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=38453
Log:
Build doc as indep target

Modified:
    packages/flann/trunk/debian/control
    packages/flann/trunk/debian/patches/series
    packages/flann/trunk/debian/rules

Modified: packages/flann/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/flann/trunk/debian/control?rev=38453&op=diff
==============================================================================
--- packages/flann/trunk/debian/control (original)
+++ packages/flann/trunk/debian/control Thu Apr 28 07:43:05 2011
@@ -5,6 +5,7 @@
 DM-Upload-Allowed: yes
 Uploaders: Mathieu Malaterre <mathieu.malaterre at gmail.com>
 Build-Depends: debhelper (>= 7.0.50~), cmake, quilt (>= 0.46-7~), libhdf5-serial-dev, libgtest-dev, python, python-numpy
+Build-Depends-Indep: texlive-binaries, texlive-latex-base
 Standards-Version: 3.9.1
 Homepage: http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN
 Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/flann/trunk/?rev=0&sc=0

Modified: packages/flann/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/flann/trunk/debian/patches/series?rev=38453&op=diff
==============================================================================
--- packages/flann/trunk/debian/patches/series (original)
+++ packages/flann/trunk/debian/patches/series Thu Apr 28 07:43:05 2011
@@ -1,1 +1,1 @@
-remove_tests.patch
+#remove_tests.patch

Modified: packages/flann/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/flann/trunk/debian/rules?rev=38453&op=diff
==============================================================================
--- packages/flann/trunk/debian/rules (original)
+++ packages/flann/trunk/debian/rules Thu Apr 28 07:43:05 2011
@@ -1,14 +1,4 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-#
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-#
-# Modified to make a template file for a multi-binary package with separated
-# build-arch and build-indep targets  by Bill Allombert 2001
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
@@ -16,9 +6,24 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
-
 %:
 	dh --parallel --with quilt --buildsystem=cmake $@ 
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SKIP_RPATH:BOOL=ON
+
+override_dh_auto_test:
+	# test download material from the net. Removing them.
+
+override_dh_compress:
+	dh_compress --exclude=.pdf
+
+build: build-arch build-indep ;
+build-indep:
+	$(MAKE) doc
+
+build-arch:
+	$(MAKE)
 
 VER_MAJOR = 1
 VER_MINOR = 6
@@ -37,6 +42,7 @@
 	rm -rf $(DEBIAN_SRC_DIR)
 	unzip -q $(UPSTREAM_SRC).zip
 	mv $(UPSTREAM_SRC) $(DEBIAN_SRC_DIR)
+	rm $(DEBIAN_SRC_DIR)/doc/manual.pdf # will be rebuild from latex
 	GZIP="--best --no-name" tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR)
 	rm -rf $(DEBIAN_SRC_DIR)
 	rm $(UPSTREAM_SRC).zip




More information about the debian-science-commits mailing list