#+------------------------------------------------------
# ECU manual Makefile
#-------------------------------------------------------
#+:EDITS:*/
#:09-10-1992-13:58-wht@n4hgf-ECU release 3.20
#:08-22-1992-15:38-wht@n4hgf-ECU release 3.20 BETA
#:08-22-1992-15:07-wht@n4hgf-whoops - forgot -mm
#:06-16-1992-02:05-wht@n4hgf-creation

NROFF = nroff -mm

#COL_PHRASE =
COL_PHRASE = | col
#COL_PHRASE = | col -b

ECU_FILES = \
	ecu.txt \
	_top.txt \
	_intro.txt \
	_basic.txt \
	_features.txt \
	_startup.txt \
	_icmd.txt \
	_hdb.txt \
	_exits.txt \
	_end.txt

PROC_FILES = \
	proc.txt \
	_p_param.txt \
	_p_ifunc.txt \
	_p_sfunc.txt \
	_p_cmd.txt

all: ecu.man proc.man

ecu.man: $(ECU_FILES)
	$(NROFF) ecu.txt $(COL_PHRASE) > $@

proc.man: $(PROC_FILES)
	$(NROFF) proc.txt $(COL_PHRASE) > $@

# no funky characters in distribution shars
dist:
	$(NROFF) ecu.txt | col -b > $@
	$(NROFF) proc.txt | col -b > $@

