[med-svn] r11825 - trunk/packages/camitk/trunk/debian

Mathieu Malaterre malat at alioth.debian.org
Wed Jul 18 08:43:55 UTC 2012


Author: malat
Date: 2012-07-18 08:43:55 +0000 (Wed, 18 Jul 2012)
New Revision: 11825

Modified:
   trunk/packages/camitk/trunk/debian/control
   trunk/packages/camitk/trunk/debian/rules
Log:
Update doc packaging

Modified: trunk/packages/camitk/trunk/debian/control
===================================================================
--- trunk/packages/camitk/trunk/debian/control	2012-07-18 06:39:46 UTC (rev 11824)
+++ trunk/packages/camitk/trunk/debian/control	2012-07-18 08:43:55 UTC (rev 11825)
@@ -42,11 +42,11 @@
  This is the headers, static lib and camitk wizard.
 
 Package: libcamitk3-doc
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Architecture: all
+Depends: ${misc:Depends}
 Description: Computer Assisted Medical Intervention Tool Kit
  Helps researchers and clinicians to easily and rapidly collaborate in
  order to prototype CAMI applications, that feature medical images,
  surgical navigation and biomechanical simulations. 
  .
- This is the API documentation.
\ No newline at end of file
+ This is the API documentation.

Modified: trunk/packages/camitk/trunk/debian/rules
===================================================================
--- trunk/packages/camitk/trunk/debian/rules	2012-07-18 06:39:46 UTC (rev 11824)
+++ trunk/packages/camitk/trunk/debian/rules	2012-07-18 08:43:55 UTC (rev 11825)
@@ -37,13 +37,13 @@
 pkg_app = imp
 pkg_doc = libcamitk-doc
 
-override_dh_auto_build:
-	dh_auto_build
-	if grep -q "^Package: libcamitk3-doc$$" debian/control ; then \
-		cd obj* ; \
-		make apidoc ; \
-	fi
+# let's be smart with doc
+override_dh_auto_build-indep:
+	$(MAKE) -C obj-* apidoc
 
+# No tests needed for docs
+override_dh_auto_test-indep:
+
 override_dh_install:
 	dh_install -p$(pkg_app) debian/tmp/usr/bin/imp
 	dh_install -p$(pkg_app) --autodest debian/tmp/usr/share/camitk-$(SOVERSION)/testdata




More information about the debian-med-commit mailing list