[med-svn] r3708 - trunk/packages/dicom3tools/trunk/debian

Mathieu Malaterre malat-guest at alioth.debian.org
Wed Jul 29 08:20:08 UTC 2009


Author: malat-guest
Date: 2009-07-29 08:20:07 +0000 (Wed, 29 Jul 2009)
New Revision: 3708

Modified:
   trunk/packages/dicom3tools/trunk/debian/rules
Log:
remove remaining lintian warnings

Modified: trunk/packages/dicom3tools/trunk/debian/rules
===================================================================
--- trunk/packages/dicom3tools/trunk/debian/rules	2009-07-29 07:47:14 UTC (rev 3707)
+++ trunk/packages/dicom3tools/trunk/debian/rules	2009-07-29 08:20:07 UTC (rev 3708)
@@ -74,13 +74,14 @@
 	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' {} \;
+	# Cannot start a line with a . (it is a macro)
+	# http://www.mail-archive.com/groff@gnu.org/msg04712.html
+	find $(CURDIR)/debian/dicom3tools/usr/share/man/man1 -type f -exec sed -i -e 's/^\.\.\.$$/\\\&\.\.\./g' {} \;
+	#  a newline character is not allowed in an escape name / a space character is not allowed in an escape name
+	find $(CURDIR)/debian/dicom3tools/usr/share/man/man1 -type f -exec sed -i -e 's/\\n/\\/g' {} \;
 
 
 # Build architecture-independent files here.




More information about the debian-med-commit mailing list