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
endif
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 common-lisp.net:/project/asdf/public_html/ilc2010draft.pdf
# I have not the faintest idea how to check this for errors, etc.
talk-outline.tex: talk-outline.org
emacs --eval '(find-file "talk-outline.org")' \
--eval '(org-export-latex ?l)' \
talk-outline.pdf: talk-outline.org
emacs --batch -q \
--eval '(find-file "talk-outline.org")' \
--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