TARGET=specification MODULE_NAME := $(shell basename `dirname \`pwd\``) .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 release: pdf clean mkdir -p ../pylibs/$(MODULE_NAME)/_requirements_ cp specification.pdf ../pylibs/$(MODULE_NAME)/_requirements_ view: pdf clean xdg-open $(TARGET).pdf clean: latexmk -c -f $(TARGET).tex rm -f *~ *.tex cleanall: clean rm $(TARGET).pdf