2009-07-27 23:11:15 -06:00
|
|
|
# Pages per signature
|
|
|
|
SIGSIZE = 24
|
|
|
|
|
2009-07-14 16:49:13 -06:00
|
|
|
SUPPORT = chapauth.sty praise.tex
|
2009-07-09 20:44:07 -06:00
|
|
|
STORIES = stories/*.tex
|
2009-07-13 23:22:44 -06:00
|
|
|
ART = art/*
|
2009-07-09 01:03:38 -06:00
|
|
|
|
2009-07-27 23:11:15 -06:00
|
|
|
horrors2-book.pdf: horrors2-book.ps
|
|
|
|
ps2pdf $< $@
|
|
|
|
|
|
|
|
horrors2-book.ps: horrors2.ps
|
|
|
|
pstops -p letter "$(shell ./enbook $(SIGSIZE))" $< > $@
|
|
|
|
|
|
|
|
horrors2.ps: horrors2.pdf
|
|
|
|
pdftops $<
|
|
|
|
|
2009-07-13 23:22:44 -06:00
|
|
|
horrors2.pdf: horrors2.ltx $(SUPPORT) $(STORIES) $(ART)
|
2009-07-09 01:03:38 -06:00
|
|
|
pdflatex $<
|
|
|
|
pdflatex $<
|
2009-07-09 11:01:21 -06:00
|
|
|
|
2009-07-09 14:45:49 -06:00
|
|
|
publish: horrors2.pdf
|
|
|
|
cp horrors2.pdf horrors2.$(shell TZ=UTC date "+%Y-%m-%dT%H:%M:%SZ").pdf
|
|
|
|
|
2009-07-09 11:01:21 -06:00
|
|
|
clean:
|
|
|
|
rm -f *aux *dvi *log
|