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 '[email protected] [email protected] ../dicom3to...@g' 
{} \;
        find $(CURDIR)/debian/dicom3tools/usr/share/man/man1 -type f -exec sed 
-i -e '[email protected] [email protected] ../dicom3to...@g' {} \;
+       # Cannot start a line with a . (it is a macro)
+       # http://www.mail-archive.com/[email protected]/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.


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-med-commit

Reply via email to