Compare commits
2 Commits
25d9dcfd6c
...
eec6a5d5b2
| Author | SHA1 | Date | |
|---|---|---|---|
| eec6a5d5b2 | |||
| 78e433250b |
16
Makefile
16
Makefile
@ -13,6 +13,7 @@ BUILD_DIR=Build
|
|||||||
|
|
||||||
PDF_SOURCE=$(BUILD_DIR)/$(PDF)
|
PDF_SOURCE=$(BUILD_DIR)/$(PDF)
|
||||||
PDF_TARGET=$(OUT_DIR)/$(PDF)
|
PDF_TARGET=$(OUT_DIR)/$(PDF)
|
||||||
|
VERSION=v1.2
|
||||||
|
|
||||||
all: compile
|
all: compile
|
||||||
xdg-open $(PDF_TARGET)
|
xdg-open $(PDF_TARGET)
|
||||||
@ -20,6 +21,19 @@ all: compile
|
|||||||
clean:
|
clean:
|
||||||
git clean -dfX
|
git clean -dfX
|
||||||
|
|
||||||
|
pdfs:
|
||||||
|
# Make all PDFs for the VERSION (branches VERSION/QSM, VERSION/VSM and VERSION/VGL)
|
||||||
|
git checkout $(VERSION)/QSM
|
||||||
|
make compile
|
||||||
|
cp $(PDF_TARGET) $(OUT_DIR)/$(VERSION)_QSM.pdf
|
||||||
|
git checkout $(VERSION)/VSM
|
||||||
|
make compile
|
||||||
|
cp $(PDF_TARGET) $(OUT_DIR)/$(VERSION)_VSM.pdf
|
||||||
|
git checkout $(VERSION)/VGL
|
||||||
|
make compile
|
||||||
|
cp $(PDF_TARGET) $(OUT_DIR)/$(VERSION)_VGL.pdf
|
||||||
|
git checkout $(VERSION)
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
# If not Exists, create 'Build' directory
|
# If not Exists, create 'Build' directory
|
||||||
[ -d $(BUILD_DIR) ] || mkdir -p $(BUILD_DIR)
|
[ -d $(BUILD_DIR) ] || mkdir -p $(BUILD_DIR)
|
||||||
@ -29,4 +43,4 @@ compile:
|
|||||||
# Copy the PDF to the 'Output/' directory
|
# Copy the PDF to the 'Output/' directory
|
||||||
cp $(PDF_SOURCE) $(PDF_TARGET)
|
cp $(PDF_SOURCE) $(PDF_TARGET)
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user