From ffeeef2048234f92dcae95e0501d8ad73f360bf4 Mon Sep 17 00:00:00 2001 From: veego Date: Sun, 6 Aug 2000 19:49:53 +0000 Subject: [PATCH] Move the include of to the old place to build the manpage correctly and also move cexp.c after the include to get the ${DIST} path. --- gnu/usr.bin/egcs/cpp/Makefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/usr.bin/egcs/cpp/Makefile b/gnu/usr.bin/egcs/cpp/Makefile index 1d195f06bcd6..a08a164f0b89 100644 --- a/gnu/usr.bin/egcs/cpp/Makefile +++ b/gnu/usr.bin/egcs/cpp/Makefile @@ -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 @@ -14,11 +14,6 @@ CPPFLAGS+= -DGCC_INCLUDE_DIR=\"\" \ .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 @@ FILESNAME= cpp FILESDIR= /usr/bin FILESMODE= ${BINMODE} -.include - MAN= cccp.1 MLINKS= cccp.1 cpp.1 cccp.1 gcpp.1 + +.include + +.if (${MACHINE_ARCH} != "sparc64") +.NOPATH: cexp.c +.BEGIN: + @rm -f ${DIST}/cexp.c +.endif