diff options
author | assar <assar@FreeBSD.org> | 2001-11-06 04:30:15 +0000 |
---|---|---|
committer | assar <assar@FreeBSD.org> | 2001-11-06 04:30:15 +0000 |
commit | d6a7ad33614c9b8c159098c95b6cc1ee0916ce76 (patch) | |
tree | 1f333580945540eac2b650d4a82ea9fe4cb2d3fc | |
parent | 54f1e4643dfce08472610c260e5b4c2bf50749f5 (diff) | |
download | FreeBSD-src-d6a7ad33614c9b8c159098c95b6cc1ee0916ce76.zip FreeBSD-src-d6a7ad33614c9b8c159098c95b6cc1ee0916ce76.tar.gz |
use cp instead of mv to get the right name of the yacc-generated
files, mv fails badly with parallel makes
Submitted by: Vincent Poy <vince@oahu.WURLDLINK.NET>
-rw-r--r-- | kerberos5/lib/libasn1/Makefile | 7 | ||||
-rw-r--r-- | kerberos5/lib/libhdb/Makefile | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/kerberos5/lib/libasn1/Makefile b/kerberos5/lib/libasn1/Makefile index 80e6c42..b7fa9e1 100644 --- a/kerberos5/lib/libasn1/Makefile +++ b/kerberos5/lib/libasn1/Makefile @@ -109,8 +109,8 @@ parse.o: parse.c roken.h parse.h parse.c: parse.y ${YACC} -d ${.OODATE} - mv y.tab.c parse.c - mv y.tab.h parse.h + cp y.tab.c parse.c + cp y.tab.h parse.h lex.o: lex.l parse.h roken.h @@ -124,4 +124,5 @@ make-print-version: make-print-version.c ${CC} ${CFLAGS} -static -o ${.TARGET} ${.OODATE} CLEANFILES+= ${GEN} asn1_compile lex.o parse.o parse.c parse.h \ - hdb_asn1.h make-print-version print_version.h print_version.o + hdb_asn1.h make-print-version print_version.h print_version.o \ + y.tab.c y.tab.h diff --git a/kerberos5/lib/libhdb/Makefile b/kerberos5/lib/libhdb/Makefile index ff3bb74..c4c9c65 100644 --- a/kerberos5/lib/libhdb/Makefile +++ b/kerberos5/lib/libhdb/Makefile @@ -63,8 +63,8 @@ parse.o: parse.c parse.h parse.c: parse.y ${YACC} -d ${.OODATE} - mv y.tab.c parse.c - mv y.tab.h parse.h + cp y.tab.c parse.c + cp y.tab.h parse.h lex.o: lex.l @@ -78,5 +78,5 @@ make-print-version: make-print-version.c ${CC} ${CFLAGS} -static -o ${.TARGET} ${.OODATE} CLEANFILES+= ${GEN} asn1_compile lex.o parse.o parse.c parse.h \ - hdb_asn1.h make-print-version print_version.h print_version.o - + hdb_asn1.h make-print-version print_version.h print_version.o \ + y.tab.c y.tab.h |