forked from flyx/DSA-LaTeX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (21 loc) · 870 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
all: release-zip
clean:
rm -rf release *.zip *.pdf fanpaket
release/dsa:
mkdir -p release/dsa
build-scripts: release/dsa
python dev/build-release.py dev release/dsa
release/dsa/fanpaket-setup.sh: build-scripts
fanpaket: build-scripts
sh release/dsa/fanpaket-setup.sh
.PHONY: build-scripts
release-files: $(shell find dev) $(shell find . -name "*.tex") clean build-scripts fanpaket
xelatex -output-directory release/dsa dokumentation.tex
xelatex -output-directory release/dsa vertrautendokument.tex
cp dsa.cls dokumentation.tex vertrautendokument.tex release/dsa
cp -r dokumentation-snippets release/dsa
cd release/dsa && rm -rf *.aux *.log *.out
mkdir release/dsa/vagrant-vm
cp vagrant-vm/provision.sh vagrant-vm/Vagrantfile vagrant-vm/start-vm.bat vagrant-vm/stop-vm.bat release/dsa/vagrant-vm
release-zip: release-files
cd release && zip -r dsa dsa