[SCM] Minimal buy-in FITS library and utility package branch, debian, updated. cdb78b15f0ba09b3802dd9d23fd4dc4d8aa85a10

Ole Streicher debian at liska.ath.cx
Mon Feb 6 08:27:06 UTC 2012


The following commit has been merged in the debian branch:
commit f1e4129f9f1e8b71ab2bc2e9f1e688e3f98386e6
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Mon Feb 6 09:24:58 2012 +0100

    Move manpage patches from rules to patch

diff --git a/debian/patches/fix_manpages.patch b/debian/patches/fix_manpages.patch
index defabb5..f98b85f 100644
--- a/debian/patches/fix_manpages.patch
+++ b/debian/patches/fix_manpages.patch
@@ -25,6 +25,16 @@ Description: Fix manpages (section and name) so that lintian does not complain
  		M="$(MAN_INSTALL_DIR)/man$$E"; \
  		if [ ! -d $$M ] ; then \
  		    echo "Making directory $$M"; \
+@@ -479,6 +484,9 @@
+ 		fi; \
+ 		echo "Installing $$B" ; \
+ 		$(INSTALL_DATA) $$i $$M/$$B; \
++		sed -i "s/\([ \"\']\)\(-[A-Za-z0-9]\)/\1\\\\\2/g" $$M/$$B/$$i; \
++		sed -i "s/^\\\&\\\fB\(.*\):\(.*\)\\\fR/\1 \- \2/g" $$M/$$B/$$i;\
++		sed -i "s/funtools(n)/funtools(7)/g" $$M/$$B/$$i; \
+ 	    done;)
+ 
+ install-share:
 --- a/man/man1/fundisp.1
 +++ b/man/man1/fundisp.1
 @@ -530,7 +530,6 @@ such as sed, at the cost of generating unaligned columns. For example:
diff --git a/debian/rules b/debian/rules
index 586e659..c536e79 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,14 +9,7 @@
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-shared --with-zlib=-lz --with-wcslib=-lwcstools  --with-tcl=/usr/lib --enable-dl
 
-patch_manpages:
-	for m in man/man?/*.? ; do \
-		sed -i "s/\([ \"\']\)\(-[A-Za-z0-9]\)/\1\\\\\2/g" $$m ; \
-		sed -i "s/^\\\&\\\fB\(.*\):\(.*\)\\\fR/\1 \- \2/g" $$m ; \
-		sed -i "s/funtools(n)/funtools(7)/g" $$m ; \
-	done
-
-override_dh_auto_build: patch_manpages
+override_dh_auto_build: 
 	dh_auto_build -- all shtclfun
 
 override_dh_installchangelogs:

-- 
Minimal buy-in FITS library and utility package



More information about the debian-science-commits mailing list