File tree Expand file tree Collapse file tree 5 files changed +13
-16
lines changed Expand file tree Collapse file tree 5 files changed +13
-16
lines changed Original file line number Diff line number Diff line change 9
9
* .synctex.gz
10
10
* .bbl
11
11
* .blg
12
- slides /lecture.pdf
13
- slides /printable.pdf
14
- slides /lecture-nup.pdf
15
- slides /tmp /
16
- slides /anim /* .png
17
- notes /notes.pdf
18
- notes /tmp /
19
-
Original file line number Diff line number Diff line change
1
+ /notes.pdf
2
+ /tmp /
Original file line number Diff line number Diff line change
1
+ /slides.pdf
2
+ /tmp /
3
+ /anim /
Original file line number Diff line number Diff line change 1
- all : lecture .pdf
1
+ all : slides .pdf
2
2
3
3
minputs := heat heatadapt diffstag siaflat flowline ssaflowline
4
4
minputs := $(addsuffix .m,$(minputs ) )
5
5
6
6
mslim := $(subst .m,.slim.m,$(minputs ) )
7
7
msource := $(addprefix tmp/,$(mslim ) )
8
8
9
- # FIXME: much to do here
10
- # FIXME need to do "make" in karthaus/, and add links to all graphics, for this too work
11
- lecture.pdf : $(msource ) anim/halfar-0.png lecture.tex preamble.tex sia.tex masscont.tex ssa.tex
12
- pdflatex lecture
13
- pdflatex lecture
9
+ slides.pdf : $(msource ) anim/halfar-0.png slides.tex preamble.tex sia.tex masscont.tex ssa.tex
10
+ pdflatex slides
11
+ pdflatex slides
14
12
15
13
# the purpose of this nonsense is to put only the "meat" of codes into the
16
- # PDF lectures . thus we remove comments and print statements. the flag
14
+ # PDF slides . thus we remove comments and print statements. the flag
17
15
# "STRIPFROMHERE" can be used in a comment to remove everything after the flag
18
16
tmp/% .slim.m : ../mfiles/% .m
19
17
mkdir -p tmp/
20
18
sed -e ' /STRIPFROMHERE/,$$ d' $< > $@ .tmp
21
19
sed -e ' s/ *fprintf/%/' -e ' s/ *%/%/' -e ' /^%/ d' -e ' s/%.*//' $@ .tmp > $@
22
20
rm -rf $@ .tmp
23
21
22
+ # un-tarring puts files halfar-?.png in directory which are older than the tar
23
+ # ... which explains using "touch" after creation
24
24
anim/halfar-0.png : anim/halfarfigs.tar.gz
25
- (cd anim/ && tar -xzvf halfarfigs.tar.gz)
25
+ (cd anim/ && tar -xzvf halfarfigs.tar.gz && touch * .png )
26
26
27
27
.PHONY : clean
28
28
File renamed without changes.
You can’t perform that action at this time.
0 commit comments