[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freewrt-commits
Subject:    [FreeWRT-commits] r3621 - in trunk/freewrt: mk scripts
From:       tg () freewrt ! org
Date:       2007-10-22 22:27:36
Message-ID: 20071022222736.631081C004 () frozenfish ! freewrt ! org
[Download RAW message or body]

Author: tg
Date: 2007-10-23 00:27:36 +0200 (Tue, 23 Oct 2007)
New Revision: 3621

Modified:
   trunk/freewrt/mk/pkg-bottom.mk
   trunk/freewrt/scripts/genhtman.sh
Log:
call it htman not htm, looks nicer to people who else would wonder


Modified: trunk/freewrt/mk/pkg-bottom.mk
===================================================================
--- trunk/freewrt/mk/pkg-bottom.mk	2007-10-22 22:22:55 UTC (rev 3620)
+++ trunk/freewrt/mk/pkg-bottom.mk	2007-10-22 22:27:36 UTC (rev 3621)
@@ -236,7 +236,7 @@
 		li=$$inode; \
 	done
 ifeq (${FWRT_MANPAGES},y)
-	cd ${WRKDIR}/wman; pax -rw htm ${BIN_DIR}/
+	cd ${WRKDIR}/wman; pax -rw htman ${BIN_DIR}/
 endif
 	touch ${_IPKGS_COOKIE}
 

Modified: trunk/freewrt/scripts/genhtman.sh
===================================================================
--- trunk/freewrt/scripts/genhtman.sh	2007-10-22 22:22:55 UTC (rev 3620)
+++ trunk/freewrt/scripts/genhtman.sh	2007-10-22 22:27:36 UTC (rev 3621)
@@ -31,7 +31,7 @@
 . $(dirname "$0")/roff2htm
 
 rm -rf $dd
-mkdir -p $dd/{{man,cat}{1,2,3,3p,4,5,6,7,8,9},htm/pkgs}
+mkdir -p $dd/{{man,cat}{1,2,3,3p,4,5,6,7,8,9},htman/pkgs}
 # copy over manual pages (source and catman): ordinary files and hardlinks
 find $sd -type f -a \( -path \*/man\* -o -path \*/cat\* \) | while read f; do
 	case $f {
@@ -175,7 +175,7 @@
 done
 
 # convert all catman pages to HTML
-cd $dd; convert_all . ./htm
+cd $dd; convert_all . ./htman
 
 # generate an index page for the package
 {
@@ -183,7 +183,7 @@
 	    sed -e "/<title>/s/()/for package $3/" -e '/<h1>/d'
 	print "<h1>FreeWRT $3 package manual</h1>
 <p>The $3 package comes with the following manual pages:</p><ul>"
-	(cd $dd/htm; find man* -name \*.htm) | sort -f | while read file; do
+	(cd $dd/htman; find man* -name \*.htm) | sort -f | while read file; do
 		bn=${file%.htm}
 		sect=${file#man}
 		print "<li><a href=\"../$file\">${bn#*/}(${sect%/*})</a></li>"
@@ -192,6 +192,6 @@
 	#XXX TODO: insert link to package ${HOMEPAGE} here once we have it
 	output_footer | \
 	    sed -e '/<tt>/s</tt>& and <tt>$Id$&'
-} >$dd/htm/pkgs/$3.htm
+} >$dd/htman/pkgs/$3.htm
 
 exit 0

_______________________________________________
freewrt-commits mailing list
freewrt-commits@freewrt.org
https://www.freewrt.org/lists/listinfo/freewrt-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic