Commit ed37e922 authored by Alija Sabic's avatar Alija Sabic
Browse files

Remove static make targets

parent 2e915290
...@@ -21,19 +21,19 @@ LATEXMK = latexmk -deps -jobname="$(basename $1)" $2 ...@@ -21,19 +21,19 @@ LATEXMK = latexmk -deps -jobname="$(basename $1)" $2
LATEXMKF = export TARGET=$1 && export TYPE=$2 && $(call LATEXMK,$1,$(BASENAME)) LATEXMKF = export TARGET=$1 && export TYPE=$2 && $(call LATEXMK,$1,$(BASENAME))
LATEXMKC = export TARGET=$1 && export TYPE="" && $(call LATEXMK,$1,$2) LATEXMKC = export TARGET=$1 && export TYPE="" && $(call LATEXMK,$1,$2)
all: build/ $(TARGETS) all: $(TARGETS)
presentation: $(BUILDDIR)/ $(BASENAME)-presentation.pdf presentation: $(BUILDDIR)/ $(BASENAME)-presentation.pdf
handout: $(BUILDDIR)/ $(BASENAME)-handout.pdf handout: $(BUILDDIR)/ $(BASENAME)-handout.pdf
notes: $(BUILDDIR)/ $(BASENAME)-notes.pdf notes: $(BUILDDIR)/ $(BASENAME)-notes.pdf
$(BASENAME)-presentation.pdf: .FORCE | $(BUILDDIR) $(BASENAME)-presentation.pdf: .FORCE | $(BUILDDIR)/
$(call LATEXMKF,$@,presentation) $(call LATEXMKF,$@,presentation)
$(BASENAME)-handout.pdf: .FORCE | $(BUILDDIR) $(BASENAME)-handout.pdf: .FORCE | $(BUILDDIR)/
$(call LATEXMKF,$@,handout) $(call LATEXMKF,$@,handout)
$(BASENAME)-notes.pdf: .FORCE | $(BUILDDIR) $(BASENAME)-notes.pdf: .FORCE | $(BUILDDIR)/
$(call LATEXMKF,$@,notes) $(call LATEXMKF,$@,notes)
clean: clean:
......
No preview for this file type
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment