head     1.3;
branch   ;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


1.3
date     90.10.29.20.14.27;  author kemnitz;  state Exp;
branches ;
next     1.2;

1.2
date     90.10.27.20.15.32;  author kemnitz;  state Exp;
branches ;
next     1.1;

1.1
date     90.07.30.13.52.58;  author kemnitz;  state Exp;
branches ;
next     ;


desc
@@


1.3
log
@fixes.
@
text
@#
#	Makefile for ChinHeng's masters report
#
#	We have to use ditroff to use grn.
#

PSFLAGS=-Tpsc
IMAGEN=	lw
PS=	lw
GRN=	/usr/local/grn
grn=	$(GRN) -P$(IMAGEN)
TROFF=	/usr/local/ditroff
troff=	$(TROFF) -P$(IMAGEN)

SRCS=	Report.grn

report:
	@@$(grn) $(SRCS) | \
	$(troff) -me -t | \
	psdit > Report.$(IMAGEN)

print: 
	@@lpr -P$(PS) Report.$(IMAGEN)

psreport:
	cat $(SRCS) | \
	$(grn) $(PSFLAGS) | \
	$(troff) $(PSFLAGS) -me -t | \
	psdit > Report.$(PS)

psprint: 
	@@lpr -P$(PS) Report.$(PS)

clean:
	@@rm -f Report.$(IMAGEN) Report.$(PS)
@


1.2
log
@Made it work.
@
text
@d10 1
a10 1
GRN=	/usr/local/bin/grn
d12 1
a12 1
TROFF=	/usr/local/bin/ditroff
@


1.1
log
@Initial revision
@
text
@d7 2
a8 3
PSFONT=/usr/local/lib/font
PSFLAGS=-F$(PSFONT) -Tpsc
IMAGEN=	ip
d10 1
a10 1
GRN=	/usr/local/grn
d12 1
a12 1
TROFF=	/usr/local/ditroff
@
