Skip to content

Commit

Permalink
Update misc/makerelease.sh, fix build rule for manual pdf, refs issue…
Browse files Browse the repository at this point in the history
… 141
  • Loading branch information
olistudent committed Sep 9, 2011
1 parent 07a2139 commit 152dbc1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions misc/makerelease.sh
Expand Up @@ -39,6 +39,7 @@ VERSION=$(grep AC_INIT configure.ac | awk '{print $2}' | sed -e 's/^.\(.*\)..$/\

SRC_DIR=phc-$VERSION
DOC_DIR=$SRC_DIR/doc/manual/
LATEX_DIR=$DOC_DIR/.build/latex/
TST_DIR=$(readlink -f phc-$VERSION-test)

SRC_TGZ=phc-$VERSION.tar.gz
Expand Down Expand Up @@ -90,13 +91,14 @@ tar cfj $SRC_BZ2 $SRC_DIR

## Generate documentation (HTML)

make -C $DOC_DIR
make -C $DOC_DIR html
tar cfz $DOC_TGZ $DOC_DIR

## Generate documentation (PDF)

make -C $DOC_DIR manual.pdf
mv $DOC_DIR/manual.pdf $PDF
make -C $DOC_DIR latex
make -C $LATEX_DIR all-pdf
mv $LATEX_DIR/manual.pdf $PDF

## Remove temporary files

Expand Down

0 comments on commit 152dbc1

Please sign in to comment.