vie and release added to Makefile
This commit is contained in:
parent
af2221019b
commit
b3b2e15330
@ -1,4 +1,6 @@
|
|||||||
TARGET=specification
|
TARGET=specification
|
||||||
|
MODULE_NAME := $(shell basename `dirname \`pwd\``)
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all tex pdf clean cleanall
|
.PHONY: all tex pdf clean cleanall
|
||||||
|
|
||||||
@ -10,6 +12,13 @@ tex:
|
|||||||
pdf: tex
|
pdf: tex
|
||||||
latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make $(TARGET).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:
|
clean:
|
||||||
latexmk -c -f $(TARGET).tex
|
latexmk -c -f $(TARGET).tex
|
||||||
rm -f *~ *.tex
|
rm -f *~ *.tex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user