aboutsummaryrefslogtreecommitdiff
path: root/Info/10/Makefile
blob: 9a8c4823643c74d2ceec2529aa78c988bc3c6a81 (plain)
1
2
3
4
5
6
7
8
COMMON_MK = $(shell bash -c 'upfind() { [[ -f "$$1" ]] && printf "$$1" || ([ "$$(realpath $$(dirname "$$1"))" == "/" ] || upfind "../$$1") }; upfind common.mk')
include $(COMMON_MK)

java_cheatsheet.pdf: java_cheatsheet.tex
	rubber --pdf $< && rubber --clean -q $<

java_cheatsheet.tex: java_cheatsheet.md | Makefile
	pandoc $< -o $@ --standalone && sed -i '/[^,]\\\\$$/a \\\\midrule' $@