[Glibc-bsd-commits] r3349 - trunk/freebsd-buildutils/debian
Guillem Jover
guillem at alioth.debian.org
Sun May 29 19:55:11 UTC 2011
Author: guillem
Date: 2011-05-29 19:55:11 +0000 (Sun, 29 May 2011)
New Revision: 3349
Modified:
trunk/freebsd-buildutils/debian/changelog
trunk/freebsd-buildutils/debian/rules
Log:
Install the man pages
Closes: #493898
Modified: trunk/freebsd-buildutils/debian/changelog
===================================================================
--- trunk/freebsd-buildutils/debian/changelog 2011-05-29 19:24:57 UTC (rev 3348)
+++ trunk/freebsd-buildutils/debian/changelog 2011-05-29 19:55:11 UTC (rev 3349)
@@ -25,6 +25,7 @@
* Line-wrap CFLAGS variable in debian/rules.
* Install binaries directly to /usr/lib/freebsd instead of relocating them
from /usr/bin and /usr/sbin.
+ * Install the man pages. (Closes: #493898)
-- Robert Millan <rmh at debian.org> Thu, 13 Jan 2011 18:29:12 +0100
Modified: trunk/freebsd-buildutils/debian/rules
===================================================================
--- trunk/freebsd-buildutils/debian/rules 2011-05-29 19:24:57 UTC (rev 3348)
+++ trunk/freebsd-buildutils/debian/rules 2011-05-29 19:55:11 UTC (rev 3349)
@@ -137,10 +137,14 @@
# remove trash
rm -rf $(CURDIR)/debian/$(package)/usr/include \
- $(CURDIR)/debian/$(package)/usr/share/man \
$(CURDIR)/debian/$(package)/var
+ find $(CURDIR)/debian/$(package)/usr/share/man -type l | \
+ xargs rm
- # relocate binaries
+ # relocate files
+ for m in `find $(CURDIR)/debian/$(package)/usr/share/man -type f`; do \
+ mv $$m `echo $$m | sed -e 's:\(man[0-9]/\):\1freebsd-:'` ; \
+ done
for i in `cd $(CURDIR)/debian/$(package)/usr/lib/freebsd && ls` ; do \
ln -s ../lib/freebsd/$$i \
$(CURDIR)/debian/$(package)/usr/bin/freebsd-$$i ; \
More information about the Glibc-bsd-commits
mailing list