Module Name:    src
Committed By:   plunky
Date:           Wed Feb  3 22:03:56 UTC 2010

Modified Files:
        src/external/bsd/pcc/libexec/cpp: Makefile

Log Message:
Install the CPP manpage as pcpp(1) to avoid conflicts with the GCC version


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/pcc/libexec/cpp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/pcc/libexec/cpp/Makefile
diff -u src/external/bsd/pcc/libexec/cpp/Makefile:1.4 src/external/bsd/pcc/libexec/cpp/Makefile:1.5
--- src/external/bsd/pcc/libexec/cpp/Makefile:1.4	Wed Jan 20 11:45:55 2010
+++ src/external/bsd/pcc/libexec/cpp/Makefile	Wed Feb  3 22:03:56 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2010/01/20 11:45:55 plunky Exp $
+#	$NetBSD: Makefile,v 1.5 2010/02/03 22:03:56 plunky Exp $
 
 .include <bsd.init.mk>
 
@@ -10,7 +10,11 @@
 SRCS=	cpy.y
 SRCS+=	cpp.c token.c
 
-MAN=	cpp.1
+# avoid conflicts with the GCC cpp.1 page
+MAN=	pcpp.1
+
+pcpp.1:	cpp.1
+	cp ${.ALLSRC} ${.TARGET}
 
 CPPFLAGS+=	-DCPP_DEBUG
 CPPFLAGS+=	-I${.OBJDIR}
@@ -26,6 +30,6 @@
 y.tab.h:	cpy.h
 	${HOST_LN} -f ${.ALLSRC} ${.TARGET}
 
-CLEANFILES+=	y.tab.h
+CLEANFILES+=	pcpp.1 y.tab.h
 
 .include <bsd.prog.mk>

Reply via email to