From owner-svn-soc-all@FreeBSD.ORG Sun Jun 3 05:02:34 2012 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from socsvn.FreeBSD.org (unknown [IPv6:2001:4f8:fff6::2f]) by hub.freebsd.org (Postfix) with SMTP id 6667C1065686 for ; Sun, 3 Jun 2012 05:02:33 +0000 (UTC) (envelope-from jhagewood@FreeBSD.org) Received: by socsvn.FreeBSD.org (sSMTP sendmail emulation); Sun, 03 Jun 2012 05:02:33 +0000 Date: Sun, 03 Jun 2012 05:02:33 +0000 From: jhagewood@FreeBSD.org To: svn-soc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20120603050233.6667C1065686@hub.freebsd.org> Cc: Subject: socsvn commit: r236985 - soc2012/jhagewood/mdocml/tests X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2012 05:02:34 -0000 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