# HG changeset patch # User meillo@marmaro.de # Date 1270890638 -7200 # Node ID f5e7c4efbc01a47173e8b66e1e9f4c6470591257 # Parent 303e8f449e776428dbaf5a3e0b8507f357f1af4c improved makefile diff -r 303e8f449e77 -r f5e7c4efbc01 makefile --- a/makefile Fri Apr 09 13:31:51 2010 +0200 +++ b/makefile Sat Apr 10 11:10:38 2010 +0200 @@ -1,10 +1,10 @@ all: unix-phil.ps unix-phil.txt unix-phil-slides.ps unix-phil.ps: unix-phil.ms - sh -c "`doctype unix-phil.ms`" >unix-phil.ps + . hl ; sed -n '/./p' $< | refer -e -P -p bib | troff -ms | dpost >$@ unix-phil.txt: unix-phil.ms - sh -c "`doctype -n unix-phil.ms`" >unix-phil.txt + . hl ; sed -n '/./p' $< | refer -e -P -p bib | nroff -ms | col -b >$@ unix-phil-slides.ps: unix-phil-slides.ms - sed -n '/./p' unix-phil-slides.ms | hl troff -ms slides - | hl dpost | insline 1 "%%BoundingBox: 0 0 600 450" >unix-phil-slides.ps + . hl ; sed -n '/./p' $< | troff -ms slides - | dpost | insline 1 "%%BoundingBox: 0 0 600 450" >$@