Commit 87de226b authored by Francois-Rene Rideau's avatar Francois-Rene Rideau
Browse files

Update Makefile so it can produce the talk pdf on Linux

parent 5b004efc
......@@ -2,12 +2,15 @@ UNAME := $(shell uname)
ifeq ($(UNAME),Darwin)
XPDF = open
XPDF ?= xpdf
XPDF ?= xpdf -z page
ALLTEX := $(wildcard *.tex *.cls *.sty *.bib *.bst)
SRC := main.tex ${ALLTEX}
OBJ := *.aux *.log *.bbl *.blg
FINAL := main.pdf
view-talk: talk-outline.pdf
${XPDF} $<
view: ${FINAL}
${XPDF} $<
......@@ -29,13 +32,10 @@ website: main.pdf
rsync main.pdf
# I have not the faintest idea how to check this for errors, etc.
emacs --eval '(find-file "")' \
--eval '(org-export-latex ?l)' \
emacs --batch -q \
--eval '(find-file "")' \
--eval '(org-export-as-pdf ?l)' \
--eval '(save-buffers-kill-terminal)'
talk-outline.pdf: talk-outline.tex
pdflatex talk-outline
pdflatex talk-outline
.PHONY: clean semiclean view website
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