forked from cthit/dokument
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
60 lines (48 loc) · 1.87 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.PHONY: all clean copy reglemente policies stadga mallar intresseforeningar stoddokument hedersmedlemmar bokningsvillkor
# Note: the $< variable is the 1st "argument" to the target while
# $@ is the target.
#
# The output directory, relative to the Makefile
builddir=build
# The base command that should be run. Note that you can override -outdir
# in the individual targets.
latexmk=latexmk -outdir=$(builddir)/$@ -f -pdf -xelatex -use-make-
# The dir that the finished pdfs should be copied into. Relative to this filek
copydir=../
all: reglemente policies stadga mallar intresseforeningar stoddokument hedersmedlemmar bokningsvillkor
bokningsvillkor: bokningsvillkor/bokningsvillkor.tex
$(latexmk) $<
reglemente: reglemente/reglemente.tex
$(latexmk) $<
policies: policies/
$(latexmk) $<ekonomisk_policy/ekonomisk_policy.tex
$(latexmk) $<lokalpolicy/lokalpolicy.tex
$(latexmk) $<mjukvarupolicy/mjukvarupolicy.tex
$(latexmk) $<kommunikationspolicy/kommunikationspolicy.tex
$(latexmk) $<uppforandepolicy/uppforandepolicy.tex
$(latexmk) $<miljopolicy/miljopolicy.tex
stadga: stadga/stadga.tex
$(latexmk) $<
mallar: mallar/
$(latexmk) $<askningsmall/askningsmall.tex
$(latexmk) $<motionsmall/motionsmall.tex
$(latexmk) $<intygsmall/intygsmall.tex
$(latexmk) $<hedersmedlemsmall/hedersmedlemsmall.tex
$(latexmk) $<beslutsmall/beslutsmall.tex
$(latexmk) $<namnlista/namnlista.tex
$(latexmk) $<nomineringsmall/nomineringsmall.tex
intresseforeningar: intresseforeningar/
$(latexmk) $<8-bit/8-bit_stadga.tex
$(latexmk) $<FikIT/FikIT_stadga.tex
stoddokument: stoddokument/
$(latexmk) $<digital_moteshallning.tex
$(latexmk) $<ordlista.tex
$(latexmk) $<sektionsmoteshandbok.tex
hedersmedlemmar: hedersmedlemmar/
$(latexmk) $<anette.tex
$(latexmk) $<wolfgang.tex
$(latexmk) $<samuel.tex
copy:
cp -n ./build/**/*.pdf ./build/output
clean:
find $(builddir) ! -name "*.pdf" -type f -delete