Skip to content

Commit

Permalink
check for toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Claes Wikstrom committed Aug 6, 2009
1 parent cb07393 commit 0e07576
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion doc/Makefile
Expand Up @@ -8,7 +8,17 @@ IMG_PDF = $(IMG_EPS:.eps=.pdf)
all debug:
echo "To build the docs, please use make docs before doing make install"

docs: yaws.ps yaws.pdf
docs: check yaws.ps yaws.pdf

check:
@if [ -z "$(DVIPS)" ]; then \
echo "Need dvips"; exit 1; \
fi
@if [ -z "$(PDFLATEX)" ]; then \
echo "Need pdflatex"; exit 1; \
fi



yaws.ps: yaws.dvi
$(COND_DVILATEX)$(DVIPS) -o yaws.ps yaws.dvi
Expand Down

0 comments on commit 0e07576

Please sign in to comment.