1####################################################################### 2# 3# @(#)Makefile 1.7 (CWI) 93/07/27 4# 5# Makefile for ditroff and nroff 6# 7####################################################################### 8 9# utilities maintained by this makefile 10 11UDIRS = troff utilities eqn pic ideal grap tbl term chem 12DEVS= devhar devnver 13 14# location to install final output 15 16BINDIR = /usr/local/bin 17LIBXDIR = /usr/local/libexec 18MANDIR = /usr/local/man/cat1 19 20all: $(UDIRS) 21 22install: all 23 for i in $(UDIRS); do (cd $$i; make $(MFLAGS) DESTDIR=${DESTDIR} install); done 24 25clean: force 26 for i in ${UDIRS}; do (cd $$i; make ${MFLAGS} clean); done 27 28$(UDIRS): force 29 cd $@; make $(MFLAGS) 30 31 32# fake dependency to force a make 33force: 34