From f8d11701c887775a764adf3e75fd7be5758d0621 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Tue, 12 Aug 2025 18:27:47 +0200 Subject: [PATCH] Makefiel extented with creating tex / pdf --- rspec.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rspec.mk b/rspec.mk index da8f4d1..06179e8 100644 --- a/rspec.mk +++ b/rspec.mk @@ -7,16 +7,22 @@ SHELL = /usr/bin/bash localhelp: echo -e "Possible requirement options are:" + echo -e "\033[1;33m - tex - Create a local requirement specification tex file\e[0m" + echo -e "\033[1;33m - pdf - Create a local requirement specification pdf file\e[0m" echo -e "\033[1;33m - view - Create a local requirement specification and view the document\e[0m" echo -e "\033[1;33m - release - Create a local requirement specification and copy it to the release folder\e[0m $(MODULE_NAME)/_requirements_" $(TARGET).tex: $(MODULE_NAME)/_requirements_/$(TARGET).py venv/bin/python rspec/__init__.py $(MODULE_NAME)/_requirements_/$(TARGET).py > $(TARGET).tex - + +tex: $(TARGET).tex + $(TARGET).pdf: $(TARGET).tex latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make $(TARGET).tex +pdf: $(TARGET).pdf lightclean + release: $(TARGET).pdf lightclean mkdir -p $(MODULE_NAME)/_requirements_ cp specification.pdf $(MODULE_NAME)/_requirements_