rlm@20: EMACS=emacs rlm@20: BATCH_EMACS=$(EMACS) --batch -Q -l init.el proposal.org rlm@20: rlm@20: all: proposal.pdf rlm@20: rlm@20: proposal.html: proposal.org rlm@20: $(BATCH_EMACS) -f org-export-as-html rlm@20: rlm@20: proposal.tex: proposal.org proposal.bib init.el rlm@20: $(BATCH_EMACS) -f org-export-as-latex rlm@20: rlm@20: proposal.bib: tasks.org bib-export.el rlm@20: $(BATCH_EMACS) -l bib-export.el rlm@20: rlm@20: proposal.pdf: proposal.tex gantt.pdf rlm@20: rm -f proposal.aux rlm@20: if pdflatex proposal.tex