diff options
Diffstat (limited to 'notes/Makefile')
-rw-r--r-- | notes/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/notes/Makefile b/notes/Makefile new file mode 100644 index 0000000..8427cb0 --- /dev/null +++ b/notes/Makefile @@ -0,0 +1,19 @@ +TEX := xelatex +TEXARGS := --output-directory=build --halt-on-error + +DOCNAME := FourierOnS2 +SOURCES := $(DOCNAME).tex + +include tex/Makefile.inc + +.PHONY: clean +all: build/$(DOCNAME).pdf + +clean: + @rm -rfv build + +build/$(DOCNAME).pdf : $(SOURCES) + mkdir -p build + $(TEX) $(TEXARGS) $< + $(TEX) $(TEXARGS) $< + |