docs/unix-phil

diff makefile @ 43:f5e7c4efbc01

improved makefile
author meillo@marmaro.de
date Sat, 10 Apr 2010 11:10:38 +0200
parents 2335f5658fca
children 46e34e433231
line diff
     1.1 --- a/makefile	Fri Apr 09 13:31:51 2010 +0200
     1.2 +++ b/makefile	Sat Apr 10 11:10:38 2010 +0200
     1.3 @@ -1,10 +1,10 @@
     1.4  all: unix-phil.ps unix-phil.txt unix-phil-slides.ps
     1.5  
     1.6  unix-phil.ps: unix-phil.ms
     1.7 -	sh -c "`doctype unix-phil.ms`" >unix-phil.ps
     1.8 +	. hl ; sed -n '/./p' $< | refer -e -P -p bib | troff -ms | dpost >$@
     1.9  
    1.10  unix-phil.txt: unix-phil.ms
    1.11 -	sh -c "`doctype -n unix-phil.ms`" >unix-phil.txt
    1.12 +	. hl ; sed -n '/./p' $< | refer -e -P -p bib | nroff -ms | col -b >$@
    1.13  
    1.14  unix-phil-slides.ps: unix-phil-slides.ms
    1.15 -	sed -n '/./p' unix-phil-slides.ms | hl troff -ms slides - | hl dpost | insline 1 "%%BoundingBox: 0 0 600 450" >unix-phil-slides.ps
    1.16 +	. hl ; sed -n '/./p' $< | troff -ms slides - | dpost | insline 1 "%%BoundingBox: 0 0 600 450" >$@