SPEC_FILENAME=requirements

.PHONY: specification

specification:
	venv/bin/python reqif/__init__.py $(SPEC_FILENAME).reqif
	@$(MAKE) --no-print-directory clean
	xdg-open $(SPEC_FILENAME).pdf

clean:
	@echo Removing generated files for target
	@rm -f $(SPEC_FILENAME).tex $(SPEC_FILENAME).aux $(SPEC_FILENAME).log $(SPEC_FILENAME).out $(SPEC_FILENAME).toc *~


cleanall: clean
	@echo Removing target
	@rm -f $(SPEC_FILENAME).pdf