-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
53 lines (45 loc) · 1.03 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
# Source: https://stackoverflow.com/questions/17834582/run-make-in-each-subdirectory
TOPTARGETS := all clean
SUBDIRS := $(wildcard */.)
$(TOPTARGETS): $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: $(TOPTARGETS) $(SUBDIRS)
#
# filename="proseminar/präsens"
#
# all:
# pdflatex --output-directory=proseminar ${filename}.tex
# evince ${filename}.pdf &
#
# pdf: ps
# ps2pdf ${filename}.ps
#
# pdf-print: ps
# ps2pdf -dColorConversionStrategy=/LeaveColorUnchanged -dPDFSETTINGS=/printer ${filename}.ps
#
# text: html
# html2text -width 100 -style pretty ${filename}/${filename}.html | sed -n '/./,$$p' | head -n-2 >${filename}.txt
#
# html:
# @#latex2html -split +0 -info "" -no_navigation ${filename}
# htlatex ${filename}
#
# ps: dvi
# dvips -t letter ${filename}.dvi
#
# dvi:
# latex ${filename}
# bibtex ${filename}||true
# latex ${filename}
# latex ${filename}
#
# read:
# evince ${filename}.pdf &
#
# aread:
# acroread ${filename}.pdf
#
# clean:
# rm -f ${filename}.{ps,pdf,log,aux,out,dvi,bbl,blg}
#