socsvn commit: r236985 - soc2012/jhagewood/mdocml/tests
jhagewood at FreeBSD.org
jhagewood at FreeBSD.org
Sun Jun 3 05:02:34 UTC 2012
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
More information about the svn-soc-all
mailing list