[med-svn] r7675 - trunk/packages/volview/trunk/debian

Mathieu Malaterre malat-guest at alioth.debian.org
Mon Sep 5 16:35:49 UTC 2011


Author: malat-guest
Date: 2011-09-05 16:35:48 +0000 (Mon, 05 Sep 2011)
New Revision: 7675

Removed:
   trunk/packages/volview/trunk/debian/docs
Modified:
   trunk/packages/volview/trunk/debian/rules
Log:
cope with space in path

Deleted: trunk/packages/volview/trunk/debian/docs
===================================================================
--- trunk/packages/volview/trunk/debian/docs	2011-09-05 16:07:29 UTC (rev 7674)
+++ trunk/packages/volview/trunk/debian/docs	2011-09-05 16:35:48 UTC (rev 7675)
@@ -1 +0,0 @@
-usr/doc/VolView\ 3\ User\ Manual.pdf usr/share/doc/volview/

Modified: trunk/packages/volview/trunk/debian/rules
===================================================================
--- trunk/packages/volview/trunk/debian/rules	2011-09-05 16:07:29 UTC (rev 7674)
+++ trunk/packages/volview/trunk/debian/rules	2011-09-05 16:35:48 UTC (rev 7675)
@@ -9,5 +9,12 @@
 override_dh_auto_configure:
 	dh_auto_configure -- -DCMAKE_BUILD_TYPE:STRING=Release
 
+override_dh_installdocs:
+	# I could not figure out how to handle space in the filename with dh_installdocs
+	#echo "$(DEB_BUILD_GNU_TYPE)"
+	mkdir -p debian/volview/usr/share/doc/volview/
+	mv "debian/volview/usr/doc/VolView 3 User Manual.pdf" debian/volview/usr/share/doc/volview/VolView3UserManual.pdf
+	dh_installdocs
+
 get-orig-source:
 	./debian/get-orig-source




More information about the debian-med-commit mailing list