Added a "test" target that returns with an error code in case of failure.

pull/3/head
Michael Bredel 7 years ago
parent d01d1620ab
commit b1cf7a89be
  1. 5
      makefile

@ -20,6 +20,11 @@ clean:
cleanall: clean
@rm *.pdf
test: clean
@pdflatex -interaction=nonstopmode -halt-on-error ${MASTER}.tex
@test -f ${MASTER}-blx.bib && ( bibtex ${MASTER}; pdflatex ${MASTER}.tex )
@pdflatex ${MASTER}.tex
bz2: clean
@echo 'creating package including Docs'
@tar --exclude-vcs -cf `pwd`/../${MASTER}-${NAME}_${SURNAME}-${VERSION}-`date +%Y%m%d`.tar `pwd`/../`pwd | sed "s,^\(.*/\)\?\([^/]*\),\2,"`

Loading…
Cancel
Save