Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jun 2012 05:02:33 +0000
From:      jhagewood@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r236985 - soc2012/jhagewood/mdocml/tests
Message-ID:  <20120603050233.6667C1065686@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhagewood
Date: Sun Jun  3 05:02:32 2012
New Revision: 236985
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=236985

Log:

Modified:
  soc2012/jhagewood/mdocml/tests/compile-man-pages.sh

Modified: soc2012/jhagewood/mdocml/tests/compile-man-pages.sh
==============================================================================
--- soc2012/jhagewood/mdocml/tests/compile-man-pages.sh	Sun Jun  3 05:02:04 2012	(r236984)
+++ soc2012/jhagewood/mdocml/tests/compile-man-pages.sh	Sun Jun  3 05:02:32 2012	(r236985)
@@ -6,10 +6,13 @@
 
 mkdir $HOME/Documents/man_pages
 cd $HOME/Documents/man_pages/
-mkdir ./output/
 find /usr/src/ \( -name "*.1" \) -type f >> ./manpaths.txt
+find /usr/src/ \( -name "*.2" \) -type f >> ./manpaths.txt
+find /usr/src/ \( -name "*.3" \) -type f >> ./manpaths.txt
+find /usr/src/ \( -name "*.4" \) -type f >> ./manpaths.txt
 find /usr/src/ \( -name "*.5" \) -type f >> ./manpaths.txt
 find /usr/src/ \( -name "*.6" \) -type f >> ./manpaths.txt
+find /usr/src/ \( -name "*.7" \) -type f >> ./manpaths.txt
 find /usr/src/ \( -name "*.8" \) -type f >> ./manpaths.txt
 find /usr/src/ \( -name "*.man" \) -type f >> ./manpaths.txt
 echo "EOL" >> ./manpaths.txt
@@ -21,7 +24,7 @@
 do
 	current_doc=$(tail -n $num_lines ./manpaths.txt)
 	sed -n '2,$p' ./manpaths.txt > ./manpaths.txt
-	mandoc -Tutf8 -Ostyle=style.css $current_doc > ./output/$numlines.txt
+	mandoc -Tpdf -Ostyle=style.css $current_doc 2> ./mdocml-manpage-errors.txt >> ./out.pdf
 	num_lines=$(cat ./manpaths.txt | grep -c .)
 done
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120603050233.6667C1065686>