Makefile 783 Bytes
export PYTEX=$(shell pwd)/pytex/

START = xxxnote nodraft noblue
END = missing
CLASS = $(PYTEX)/cls/IEEEtran.cls

all: paper ABSTRACT

open: paper.pdf
	@nohup acroread -openInNewWindow paper.pdf 1>/dev/null 2>/dev/null &

figures:
	@cd figures ; make

ABSTRACT: $(PYTEX)/bin/clean $(PYTEX)/bin/lib.py abstract.tex
	@$(PYTEX)/bin/clean abstract.tex ABSTRACT

wc: $(PYTEX)/bin/wc $(PYTEX)/bin/lib.py abstract.tex
	@$(PYTEX)/bin/wc abstract.tex -

# 16 Nov 2010 : GWA : Add other cleaning rules here.

clean: rulesclean
	@rm -f ABSTRACT

include $(PYTEX)/make/Makerules

spellcheck: .spellcheck | silent

.spellcheck: $(PAPER_TEXFILES) .okwords
	@hunspell -t -l -p $(PWD)/.okwords $(PAPER_TEXFILES) | sort -f | uniq | tee badwords && touch .spellcheck

silent:
	@:

.PHONY:
	spellcheck