mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 05:21:08 +01:00
Change rules to not generate term.h on second make depend
This commit is contained in:
parent
33ccd78725
commit
915554d454
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4525
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user