[med-svn] r3707 - in trunk/packages/dicom3tools/trunk/debian: . patches

Mathieu Malaterre malat-guest at alioth.debian.org
Wed Jul 29 07:47:15 UTC 2009


Author: malat-guest
Date: 2009-07-29 07:47:14 +0000 (Wed, 29 Jul 2009)
New Revision: 3707

Modified:
   trunk/packages/dicom3tools/trunk/debian/copyright
   trunk/packages/dicom3tools/trunk/debian/patches/series
   trunk/packages/dicom3tools/trunk/debian/rules
Log:
As suggested on debian-mentors, move *.so outside of the man1 location and use relative path to include them

Modified: trunk/packages/dicom3tools/trunk/debian/copyright
===================================================================
--- trunk/packages/dicom3tools/trunk/debian/copyright	2009-07-28 15:07:44 UTC (rev 3706)
+++ trunk/packages/dicom3tools/trunk/debian/copyright	2009-07-29 07:47:14 UTC (rev 3707)
@@ -3,7 +3,7 @@
 
 It was downloaded from http://www.dclunie.com/dicom3tools/workinprogress/ 
 
-Upstream Author(s):
+Upstream Author:
 
     David A. Clunie dclunie at dclunie.com
 
@@ -36,5 +36,3 @@
 is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
 
 
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.

Modified: trunk/packages/dicom3tools/trunk/debian/patches/series
===================================================================
--- trunk/packages/dicom3tools/trunk/debian/patches/series	2009-07-28 15:07:44 UTC (rev 3706)
+++ trunk/packages/dicom3tools/trunk/debian/patches/series	2009-07-29 07:47:14 UTC (rev 3707)
@@ -1,3 +1,2 @@
 project.tmpl.patch
 20_gcc4.3.patch
-dcintro.man.patch

Modified: trunk/packages/dicom3tools/trunk/debian/rules
===================================================================
--- trunk/packages/dicom3tools/trunk/debian/rules	2009-07-28 15:07:44 UTC (rev 3706)
+++ trunk/packages/dicom3tools/trunk/debian/rules	2009-07-29 07:47:14 UTC (rev 3707)
@@ -72,6 +72,15 @@
 							jpegsplit pbmswbit pgmtobmp pnmpred pnmtoraw pqsplit rawarith rawdiff rawmask rawnjl; do \
 		find $(CURDIR)/debian/dicom3tools -type f -name $$file\* -print | xargs rm; \
 	done
+	# Move the special .so (groff source file to /usr/share/dicom3tools to please lintian
+	mkdir -p $(CURDIR)/debian/dicom3tools/usr/share/dicom3tools
+	#for file in optin.so binout.so optout.so binin.so genout.so genin.so; do \
+	#	mv $(CURDIR)/debian/dicom3tools/usr/share/man/man1/$$file $(CURDIR)/debian/dicom3tools/usr/share/dicom3tools \
+	#done
+	mv $(CURDIR)/debian/dicom3tools/usr/share/man/man1/*.so $(CURDIR)/debian/dicom3tools/usr/share/dicom3tools
+	# Let's use the new file location:
+	#find . -name \*.man -exec sed -e 's at .so man1 at .so ../dicom3tools at g' {} \;
+	find $(CURDIR)/debian/dicom3tools/usr/share/man/man1 -type f -exec sed -i -e 's at .so man1 at .so ../dicom3tools at g' {} \;
 
 
 # Build architecture-independent files here.




More information about the debian-med-commit mailing list