shithub: choc

ref: b2a2c312907d214aacaa11f97a217e4a42cfe683
dir: /man/Makefile/

View raw version

chocolate-doom.6: chocolate-doom-options.in head foot Makefile doom-options.in
	cp head $@
	echo .SH DOOM OPTIONS >> $@
	awk -F"\t" '{print ".TP\n\\fB"$$1"\\fR"; $$1=""; print }' < doom-options.in >>$@
	echo .SH CHOCOLATE\\-DOOM OPTIONS >> $@
	awk -F"\t" '{print ".TP\n\\fB"$$1"\\fR"; $$1=""; print }' < chocolate-doom-options.in >>$@
	m4 -DAUTHORS="`cat ../AUTHORS`" foot >> $@