[Glibc-bsd-commits] r4926 - trunk/freebsd-manpages/debian

Axel Beckert abe at alioth.debian.org
Sat Aug 31 00:21:11 UTC 2013


Author: abe
Date: 2013-08-31 00:21:10 +0000 (Sat, 31 Aug 2013)
New Revision: 4926

Modified:
   trunk/freebsd-manpages/debian/changelog
   trunk/freebsd-manpages/debian/control
   trunk/freebsd-manpages/debian/rules
Log:
Use hardlink to deduplicate man pages with multiple names

dh_installman uncompresses all and recodes them and looses potential
hardlinks that way.

Reduces package size by more than 60%. See also
http://dedup.debian.net/binary/freebsd-manpages

Add build-dependency on hardlink


Modified: trunk/freebsd-manpages/debian/changelog
===================================================================
--- trunk/freebsd-manpages/debian/changelog	2013-08-31 00:03:14 UTC (rev 4925)
+++ trunk/freebsd-manpages/debian/changelog	2013-08-31 00:21:10 UTC (rev 4926)
@@ -8,6 +8,10 @@
   * Use debian/install and dh_install instead of calling "cp" manually
   * Use prename instead of double for loop to add freebsd man page suffix
     + Add build-dependency on perl
+  * Use hardlink to deduplicate man pages with multiple names after
+    dh_installman's recoding again.
+    + Reduces package size by more than 60%
+    + Add build-dependency on hardlink
 
  -- Axel Beckert <abe at debian.org>  Sat, 31 Aug 2013 00:47:15 +0200
 

Modified: trunk/freebsd-manpages/debian/control
===================================================================
--- trunk/freebsd-manpages/debian/control	2013-08-31 00:03:14 UTC (rev 4925)
+++ trunk/freebsd-manpages/debian/control	2013-08-31 00:21:10 UTC (rev 4926)
@@ -5,6 +5,7 @@
 Uploaders: Gürkan Sengün <gurkan at phys.ethz.ch>,
            Axel Beckert <abe at debian.org>
 Build-Depends: debhelper (>= 8),
+               hardlink,
                perl
 Standards-Version: 3.9.4
 Homepage: http://www.freebsd.org/docproj/

Modified: trunk/freebsd-manpages/debian/rules
===================================================================
--- trunk/freebsd-manpages/debian/rules	2013-08-31 00:03:14 UTC (rev 4925)
+++ trunk/freebsd-manpages/debian/rules	2013-08-31 00:21:10 UTC (rev 4926)
@@ -49,6 +49,7 @@
 	dh_installchangelogs
 	dh_installdocs
 	dh_installman
+	hardlink -m -t $(DESTDIR)/usr/share/man
 	dh_compress
 	dh_fixperms
 	dh_installdeb




More information about the Glibc-bsd-commits mailing list