|
@@ -1,4 +1,6 @@
|
1
|
1
|
TARGET=specification
|
|
2
|
+MODULE_NAME := $(shell basename `dirname \`pwd\``)
|
|
3
|
+
|
2
|
4
|
|
3
|
5
|
.PHONY: all tex pdf clean cleanall
|
4
|
6
|
|
|
@@ -10,6 +12,13 @@ tex:
|
10
|
12
|
pdf: tex
|
11
|
13
|
latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make $(TARGET).tex
|
12
|
14
|
|
|
15
|
+release: pdf clean
|
|
16
|
+ mkdir -p ../pylibs/$(MODULE_NAME)/_requirements_
|
|
17
|
+ cp specification.pdf ../pylibs/$(MODULE_NAME)/_requirements_
|
|
18
|
+
|
|
19
|
+view: pdf clean
|
|
20
|
+ xdg-open $(TARGET).pdf
|
|
21
|
+
|
13
|
22
|
clean:
|
14
|
23
|
latexmk -c -f $(TARGET).tex
|
15
|
24
|
rm -f *~ *.tex
|