reqif/scripts/Makefile

18 lines
309 B
Makefile

TARGET=specification
.PHONY: all tex pdf clean cleanall
all: pdf clean
tex:
python3 reqif/scripts/parse.py $(TARGET).reqif
pdf: tex
latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make $(TARGET).tex
clean:
latexmk -c -f $(TARGET).tex
rm -f *~ *.tex
cleanall: clean
rm $(TARGET).pdf