Issue 16: Generate PDF documentation as well as text and man formats.
SVN-Revision: 834
This commit is contained in:
1 parent
63985961e6
commit
71e7851216
2 files changed
+21
No files matched your search
@@ -0,0 +1,2 @@
|
||||
*** PLEASE DO NOT DELETE THIS FILE! ***
|
||||
This file is used to track an otherwise empty directory in git.
|
||||
@@ -41,7 +41,26 @@ for d in libarchive tar cpio; do
|
||||
done
|
||||
cd ..
|
||||
|
||||
# Rebuild Makefile in 'pdf' directory
|
||||
cd pdf
|
||||
echo > Makefile
|
||||
echo "default: all" >>Makefile
|
||||
echo >>Makefile
|
||||
all="all:"
|
||||
for d in libarchive tar cpio; do
|
||||
for f in ../../$d/*.[135]; do
|
||||
echo >> Makefile
|
||||
echo `basename $f`.pdf: $f >> Makefile
|
||||
echo " groff -mdoc -T ps $f | ps2pdf - - > `basename $f`.pdf" >> Makefile
|
||||
all="$all `basename $f`.pdf"
|
||||
done
|
||||
done
|
||||
echo $all >>Makefile
|
||||
cd ..
|
||||
|
||||
# Convert all of the manpages to -man format.
|
||||
(cd man && make)
|
||||
# Format all of the manpages to text
|
||||
(cd text && make)
|
||||
# Format all of the manpages in PDF directory.
|
||||
(cd pdf && make)
|
||||
Reference in new issue
Block a user