[Glibc-bsd-commits] r4922 - trunk/freebsd-manpages/debian
Axel Beckert
abe at alioth.debian.org
Fri Aug 30 23:40:09 UTC 2013
Author: abe
Date: 2013-08-30 23:40:09 +0000 (Fri, 30 Aug 2013)
New Revision: 4922
Added:
trunk/freebsd-manpages/debian/install
Modified:
trunk/freebsd-manpages/debian/changelog
trunk/freebsd-manpages/debian/rules
Log:
Use debian/install and dh_install instead of calling "cp" manually
Modified: trunk/freebsd-manpages/debian/changelog
===================================================================
--- trunk/freebsd-manpages/debian/changelog 2013-08-30 23:19:47 UTC (rev 4921)
+++ trunk/freebsd-manpages/debian/changelog 2013-08-30 23:40:09 UTC (rev 4922)
@@ -4,6 +4,7 @@
* Rename update target to the more common name get-orig-source
* Rework get-orig-source target to support FreeBSD releases which don't
offer manpages for download separately.
+ * Use debian/install and dh_install instead of calling "cp" manually
-- Axel Beckert <abe at debian.org> Sat, 31 Aug 2013 00:47:15 +0200
Added: trunk/freebsd-manpages/debian/install
===================================================================
--- trunk/freebsd-manpages/debian/install (rev 0)
+++ trunk/freebsd-manpages/debian/install 2013-08-30 23:40:09 UTC (rev 4922)
@@ -0,0 +1,2 @@
+share/man/man[249] usr/share/man
+share/man/man3/sysctl.3.gz usr/share/man/man3
Modified: trunk/freebsd-manpages/debian/rules
===================================================================
--- trunk/freebsd-manpages/debian/rules 2013-08-30 23:19:47 UTC (rev 4921)
+++ trunk/freebsd-manpages/debian/rules 2013-08-30 23:40:09 UTC (rev 4922)
@@ -35,13 +35,9 @@
dh_testdir
dh_testroot
dh_prep
- dh_installdirs
- cp -r share/man/man2 $(DESTDIR)/usr/share/man/
- cp share/man/man3/sysctl.3.gz $(DESTDIR)/usr/share/man/man3/sysctl.3freebsd.gz
- cp -r share/man/man4 $(DESTDIR)/usr/share/man/
+ dh_install
mv $(DESTDIR)/usr/share/man/man4/i386/* $(DESTDIR)/usr/share/man/man4/
rm -rf $(DESTDIR)/usr/share/man/man4/i386/
- cp -r share/man/man9 $(DESTDIR)/usr/share/man/
for section in 2 4 9; do \
for path in $(DESTDIR)/usr/share/man/man$${section}/*; do \
file=`basename $${path}`; \
More information about the Glibc-bsd-commits
mailing list