Fixed Makefile for make depend some more. The .depend target was not

being created and config.h depended on Makefile.inc being in the wrong
directory so real dependencies were not being checked.  The "depend"
target was not created either so "make depend" always found work to do.
This commit is contained in:
Bruce Evans 1994-08-25 08:36:26 +00:00
parent a5585c6fbd
commit e4d49cce30

View File

@ -10,14 +10,14 @@ NOPROFILE= YES
CFLAGS+= -I${.CURDIR} -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_COMPRESS -DALT_SYSTEMS
CLEANFILES+= ${CONFH}
SRCS = util.c gripes.c
SRCS = util.c gripes.c ${CONFH}
libman.a:: ${CONFH}
libman.a:: ${CONFH}
install:
@echo -n
depend ${CONFH}: ${.CURDIR}/config.h_dist ../Makefile.inc
${CONFH}: ${.CURDIR}/config.h_dist ${.CURDIR}/../Makefile.inc
sed -e 's,%apropos%,${apropos},' -e 's,%whatis%,${whatis},' \
-e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
-e 's,%nroff%,${nroff},' -e 's,%tbl%,${tbl},' \