This commit is contained in:
Mattias Andrée 2012-08-26 19:23:04 +02:00
parent 8d662d5127
commit d136ed9455
3 changed files with 8 additions and 2 deletions

View file

@ -41,7 +41,7 @@ pdfmanual()
texi2pdf "manuals/ponysay.texinfo" texi2pdf "manuals/ponysay.texinfo"
git add "manuals/ponysay.texinfo" "ponysay.pdf" git add "manuals/ponysay.texinfo" "ponysay.pdf"
for ext in `echo aux cp cps fn ky log pg toc tp vr`; do for ext in `echo aux cp cps fn ky log pg toc tp vr`; do
if [ -f "ponysay.\$\$ext" ]; then if [ -f "ponysay.$ext" ]; then
unlink "ponysay.$ext" unlink "ponysay.$ext"
fi fi
done done
@ -51,6 +51,12 @@ pdfmanual()
} }
pdf()
{
pdfmanual "$@"
}
tag() tag()
{ {
version=`./setup.py version` version=`./setup.py version`

Binary file not shown.

View file

@ -505,7 +505,7 @@ class Setup():
def clean(self): def clean(self):
print('\033[1;34m::\033[39mCleaning...\033[21m') print('\033[1;34m::\033[39mCleaning...\033[21m')
files = ['ponysay.info', 'ponysay.info.gz', 'ponysay.info.xz', 'ponysay.install'] files = ['ponysay.info', 'ponysay.info.gz', 'ponysay.info.xz', 'ponysay.pdf.gz', 'ponysay.pdf.xz', 'ponysay.install']
dirs = ['quotes'] dirs = ['quotes']
for comp in ['install', 'gz', 'xz']: for comp in ['install', 'gz', 'xz']:
for man in manpages: for man in manpages: