Check-in [7ac5ba9ba3]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove debug
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA1: 7ac5ba9ba38eb81e1a210846c988c9a8f3b66b25
User & Date: bapt 2013-09-22 18:27:45
Context
2013-09-22
18:27
Remove debug Leaf check-in: 7ac5ba9ba3 user: bapt tags: trunk
18:27
Compress all manpages in manpath check-in: 31fd5b44cf user: bapt tags: trunk
Changes

Changes to stage.patch.

581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
...
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
 .endif
Index: bsd.stage.mk
===================================================================
diff --git a/head/Mk/bsd.stage.mk b/head/Mk/bsd.stage.mk
new file mode 10644
--- /dev/null	(revision 0)
+++ b/head/Mk/bsd.stage.mk	(working copy)
@@ -0,0 +1,101 @@
+#
+# $FreeBSD$
+#
+
+STAGEDIR?=	${WRKDIR}/stage
+DESTDIRNAME?=	DESTDIR
+
................................................................................
+.if !target(compress-man)
+compress-man:
+	@${ECHO_CMD} "====> Compressing man pages" ; \
+	mdirs="${STAGEDIR}${MANPREFIX}/man"; \
+	for dir in `cat /usr/local/etc/man.d/*.conf ${STAGEDIR}/usr/local/etc/man.d/*.conf 2>/dev/null| awk -vstagedir=${STAGEDIR} '{ print stagedir$$2 }'` ; do \
+		[ -d $$dir ] && mdirs="$$mdirs $$dir" ;\
+	done ; \
+	${ECHO_MSG} $$mdirs ; \
+	for dir in $$mdirs; do \
+		${FIND} $$dir -type f \! -name "*.gz" -links 1 -exec ${GZIP_CMD} {} \; ; \
+		${FIND} $$dir -type f \! -name "*.gz" \! -links 1 -print -exec ${STAT} -f '%i' {} \; | \
+			${SORT} -u | while read inode ; do \
+				unset ref ; \
+				for f in $$(${FIND} -type f -inum $${inode} -print); do \
+					if [ -z $$ref ]; then \







|







 







<







581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
...
613
614
615
616
617
618
619

620
621
622
623
624
625
626
 .endif
Index: bsd.stage.mk
===================================================================
diff --git a/head/Mk/bsd.stage.mk b/head/Mk/bsd.stage.mk
new file mode 10644
--- /dev/null	(revision 0)
+++ b/head/Mk/bsd.stage.mk	(working copy)
@@ -0,0 +1,100 @@
+#
+# $FreeBSD$
+#
+
+STAGEDIR?=	${WRKDIR}/stage
+DESTDIRNAME?=	DESTDIR
+
................................................................................
+.if !target(compress-man)
+compress-man:
+	@${ECHO_CMD} "====> Compressing man pages" ; \
+	mdirs="${STAGEDIR}${MANPREFIX}/man"; \
+	for dir in `cat /usr/local/etc/man.d/*.conf ${STAGEDIR}/usr/local/etc/man.d/*.conf 2>/dev/null| awk -vstagedir=${STAGEDIR} '{ print stagedir$$2 }'` ; do \
+		[ -d $$dir ] && mdirs="$$mdirs $$dir" ;\
+	done ; \

+	for dir in $$mdirs; do \
+		${FIND} $$dir -type f \! -name "*.gz" -links 1 -exec ${GZIP_CMD} {} \; ; \
+		${FIND} $$dir -type f \! -name "*.gz" \! -links 1 -print -exec ${STAT} -f '%i' {} \; | \
+			${SORT} -u | while read inode ; do \
+				unset ref ; \
+				for f in $$(${FIND} -type f -inum $${inode} -print); do \
+					if [ -z $$ref ]; then \