Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/egcs/cpp Move the include of <bsd.prog.mk> to th...



details:   https://anonhg.NetBSD.org/src/rev/8d03757816ef
branches:  trunk
changeset: 495800:8d03757816ef
user:      veego <veego%NetBSD.org@localhost>
date:      Sun Aug 06 19:49:53 2000 +0000

description:
Move the include of <bsd.prog.mk> to the old place to build the manpage
correctly and also move cexp.c after the include to get the ${DIST} path.

diffstat:

 gnu/usr.bin/egcs/cpp/Makefile |  17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diffs (38 lines):

diff -r 9cfe39a2b9b7 -r 8d03757816ef gnu/usr.bin/egcs/cpp/Makefile
--- a/gnu/usr.bin/egcs/cpp/Makefile     Sun Aug 06 19:41:18 2000 +0000
+++ b/gnu/usr.bin/egcs/cpp/Makefile     Sun Aug 06 19:49:53 2000 +0000
@@ -1,5 +1,5 @@
 #      from: @{#}Makefile      6.4 (Berkeley) 2/21/91
-#      $NetBSD: Makefile,v 1.12 2000/08/06 16:37:57 mrg Exp $
+#      $NetBSD: Makefile,v 1.13 2000/08/06 19:49:53 veego Exp $
 
 .include <bsd.own.mk>
 
@@ -14,11 +14,6 @@
 .if empty(HAVE_GCC28)
 CWARNFLAGS+=   -Wno-error
 .endif
-
-.NOPATH: cexp.c
-.BEGIN:
-       @rm -f ${DIST}/cexp.c
-
 .endif
 
 LINKS=         /usr/bin/cpp /usr/bin/gcpp
@@ -27,7 +22,13 @@
 FILESDIR=      /usr/bin
 FILESMODE=     ${BINMODE}
 
+MAN=           cccp.1
+MLINKS=                cccp.1 cpp.1 cccp.1 gcpp.1
+
 .include <bsd.prog.mk>
 
-MAN=           cccp.1
-MLINKS=                cccp.1 cpp.1 cccp.1 gcpp.1
+.if (${MACHINE_ARCH} != "sparc64")
+.NOPATH: cexp.c
+.BEGIN:
+       @rm -f ${DIST}/cexp.c
+.endif



Home | Main Index | Thread Index | Old Index