diff options
author | ache <ache@FreeBSD.org> | 1994-11-16 11:54:09 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-11-16 11:54:09 +0000 |
commit | 9ff5ea124ce072662633bff81d4a9123e89073d1 (patch) | |
tree | b768b236e9982d5136db9bdcc92ae3cedbf45884 /lib | |
parent | a8e45e5f344d18d5ee0e99fef970ddde87651b86 (diff) | |
download | FreeBSD-src-9ff5ea124ce072662633bff81d4a9123e89073d1.zip FreeBSD-src-9ff5ea124ce072662633bff81d4a9123e89073d1.tar.gz |
Change rules to not generate term.h on second make depend
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libmytinfo/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libmytinfo/Makefile b/lib/libmytinfo/Makefile index 269757a..e22ed7b 100644 --- a/lib/libmytinfo/Makefile +++ b/lib/libmytinfo/Makefile @@ -1,7 +1,7 @@ # Makefile for libmytinfo # Use 'make update_term_h' manually after changing internal # mytinfo structures -# $Id: Makefile,v 1.6 1994/10/10 01:03:26 ache Exp $ +# $Id: Makefile,v 1.7 1994/10/28 06:58:04 ache Exp $ LIB= mytinfo SRCS= addstr.c binorder.c buildpath.c caplist.c capsort.c compar.c\ @@ -15,7 +15,9 @@ CFLAGS+=-Wall -I${.CURDIR} CAPS= 1000 -update_term_h: ${.CURDIR}/term.h +# ${.CURDIR}/term.h: ${.CURDIR}/term.head ${.CURDIR}/term.tail +update_term_h: ${.CURDIR}/term.head ${.CURDIR}/term.tail + cat ${.CURDIR}/term.head ${.CURDIR}/term.tail > ${.CURDIR}/term.h beforeinstall: -cmp -s ${.CURDIR}/term.h ${DESTDIR}/usr/include/term.h && \ @@ -44,9 +46,6 @@ version.c: mkversion mkversion: mkversion.c $(CC) $(CFLAGS) $(LDFLAGS) -o mkversion ${.CURDIR}/mkversion.c -${.CURDIR}/term.h: ${.CURDIR}/term.head ${.CURDIR}/term.tail - cat ${.CURDIR}/term.head ${.CURDIR}/term.tail > ${.CURDIR}/term.h - ${.CURDIR}/term.head: mktermhead ${.CURDIR}/cap_list ./mktermhead -n $(CAPS) ${.CURDIR}/cap_list > ${.CURDIR}/term.head |