[Po4a-devel][CVS] po4a Makefile,1.1,1.2

Martin Quinson po4a-devel@lists.alioth.debian.org
Fri, 16 Jul 2004 00:46:48 +0000


Update of /cvsroot/po4a/po4a
In directory haydn:/tmp/cvs-serv30469

Modified Files:
	Makefile 
Log Message:
Debian policy requiers the man page to be compressed at full power

Index: Makefile
===================================================================
RCS file: /cvsroot/po4a/po4a/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile	29 Jun 2004 22:08:21 -0000	1.1
+++ Makefile	16 Jul 2004 00:46:45 -0000	1.2
@@ -42,7 +42,7 @@
 	      cp po/pod/po4a-$$bin.$$lang.pod mantmp/po4a-$$bin.pod && \
 	      pod2man --section=1 --center='Po4a Tools' --release='Po4a Tools' \
 	       mantmp/po4a-$$bin.pod > mantmp/$$lang/man1/po4a-$$bin.1; \
-	      gzip mantmp/$$lang/man1/po4a-$$bin.1; \
+	      gzip -9 mantmp/$$lang/man1/po4a-$$bin.1; \
 	      rm -f mantmp/po4a-$$bin.pod; \
 	    fi; \
 	  done; \
@@ -54,7 +54,7 @@
 	      cp po/pod/Locale::Po4a::$$lib.$$lang.pod mantmp/$$lib.pod && \
 	      pod2man --section=3pm --center='Po4a Tools' --release='Po4a Tools' \
 	       mantmp/$$lib.pod > mantmp/$$lang/man3/Locale::Po4a::$$lib.3pm; \
-	      gzip mantmp/$$lang/man3/Locale::Po4a::$$lib.3pm; \
+	      gzip -9 mantmp/$$lang/man3/Locale::Po4a::$$lib.3pm; \
 	      rm -f mantmp/$$lib.pod; \
 	    fi; \
 	  done; \
@@ -62,14 +62,14 @@
 	for doc in $(docs) ; do \
 	  pod2man --section=7 --center='Po4a Tools' --release='Po4a Tools' \
 	    doc/$$doc.7.pod > mantmp/$$doc.7; \
-	  gzip mantmp/$$doc.7; \
+	  gzip -9 mantmp/$$doc.7; \
 	  for lang in $(langs) ; do \
 	    if [ -e po/pod/$$doc.$$lang.pod ] ; then \
 	      mkdir -p mantmp/$$lang/man7; \
 	      cp po/pod/$$doc.$$lang.pod mantmp/$$doc.pod && \
 	      pod2man --section=7 --center='Po4a Tools' --release='Po4a Tools' \
 	       mantmp/$$doc.pod > mantmp/$$lang/man7/$$doc.7; \
-	      gzip mantmp/$$lang/man7/$$doc.7; \
+	      gzip -9 mantmp/$$lang/man7/$$doc.7; \
 	      rm -f mantmp/$$doc.pod; \
 	    fi; \
 	  done; \