Archiving a bunch of old stuff
This commit is contained in:
25
oldstuff/math-replay/Makefile
Normal file
25
oldstuff/math-replay/Makefile
Normal file
@@ -0,0 +1,25 @@
|
||||
ALL := $(patsubst %.haml,%.html,$(shell find . -name '*.haml'))
|
||||
ALL += $(patsubst %.tex,%.pdf,$(shell find . -name '*.tex'))
|
||||
|
||||
|
||||
%.html:%.haml
|
||||
haml -Ilib -rhaml/filters-ext $^ $@
|
||||
|
||||
|
||||
%.pdf:%.tex
|
||||
texi2pdf $^ -o $@ && \
|
||||
rm -vf $(patsubst %.pdf,%.aux,$(notdir $@)) \
|
||||
$(patsubst %.pdf,%.log,$(notdir $@))
|
||||
|
||||
|
||||
all: $(ALL)
|
||||
|
||||
|
||||
clean:
|
||||
rm -vf $(ALL)
|
||||
|
||||
|
||||
serve:
|
||||
rackup ./config.ru
|
||||
|
||||
.PHONY: all clean serve
|
||||
Reference in New Issue
Block a user