[100532] trunk/base/doc

raimue at macports.org raimue at macports.org
Fri Dec 14 16:25:16 PST 2012


Revision: 100532
          https://trac.macports.org/changeset/100532
Author:   raimue at macports.org
Date:     2012-12-14 16:25:16 -0800 (Fri, 14 Dec 2012)
Log Message:
-----------
Create ${prefix}/man symlink with a simple entry in base.mtree
instead of the more complex way in the Makefile

Modified Paths:
--------------
    trunk/base/doc/Makefile
    trunk/base/doc/base.mtree.in

Modified: trunk/base/doc/Makefile
===================================================================
--- trunk/base/doc/Makefile	2012-12-14 22:35:27 UTC (rev 100531)
+++ trunk/base/doc/Makefile	2012-12-15 00:25:16 UTC (rev 100532)
@@ -34,14 +34,7 @@
 
 	< prefix.mtree $(MTREE) -U -e -p "${INSTALLDIR}" > /dev/null
 	< base.mtree $(MTREE) -U -e -p "${INSTALLDIR}" > /dev/null
-	if test -L "${INSTALLDIR}/man" ; then \
-		rm -f "${INSTALLDIR}/man"; \
-	fi
 
-	if test ! -e "${INSTALLDIR}/man" ; then \
-		$(LN_S) share/man "${INSTALLDIR}/man"; \
-	fi
-
 	for f in ${CONF}; do \
 		$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$f "${DESTDIR}${mpconfigdir}/$${f}.default"; \
 		if test ! -e "${DESTDIR}${mpconfigdir}/$$f" ; then \

Modified: trunk/base/doc/base.mtree.in
===================================================================
--- trunk/base/doc/base.mtree.in	2012-12-14 22:35:27 UTC (rev 100531)
+++ trunk/base/doc/base.mtree.in	2012-12-15 00:25:16 UTC (rev 100532)
@@ -5,6 +5,8 @@
 
 /set type=dir uname=@DSTUSR@ gname=@DSTGRP@ mode=@DSTMODE@
 .
+    man type=link link=share/man
+    ..
     var
         macports
             build
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121214/433e1a10/attachment.html>


More information about the macports-changes mailing list