2013-12-06 12:04:52 +01:00
|
|
|
# Id: Makefile,v 8.10 2001/01/28 15:50:07 skimo Exp (Berkeley) Date: 2001/01/28 15:50:07
|
2013-01-22 12:03:53 +01:00
|
|
|
|
|
|
|
ROFF= groff
|
|
|
|
TBL= tbl
|
|
|
|
|
|
|
|
ALL= exref.ps summary.ps ../html/exref.html ../html/ex-summary.html
|
|
|
|
|
|
|
|
all: $(ALL)
|
|
|
|
|
|
|
|
../html/exref.html: ex.rm
|
|
|
|
test -d ../html || mkdir ../html
|
|
|
|
${TBL} $< | ${ROFF} -ms -Thtml | \
|
|
|
|
sed 's/<img src="$<.*png">//' > $@
|
|
|
|
rm -f "$<"*png
|
|
|
|
chmod 444 $@
|
|
|
|
|
|
|
|
../html/ex-summary.html: ex.summary
|
|
|
|
test -d ../html || mkdir ../html
|
|
|
|
${TBL} $< | ${ROFF} -ms -Thtml | \
|
|
|
|
sed 's/<img src="$<.*png">//' > $@
|
|
|
|
rm -f "$<"*png
|
|
|
|
chmod 444 $@
|
|
|
|
|
|
|
|
exref.ps: ex.rm
|
|
|
|
${TBL} $< | ${ROFF} -ms > $@
|
|
|
|
chmod 444 $@
|
|
|
|
|
|
|
|
summary.ps: ex.summary
|
|
|
|
${TBL} $< | ${ROFF} -ms > $@
|
|
|
|
chmod 444 $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(ALL)
|