Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/pcc/libexec/cpp Install the CPP manpage as pcpp...



details:   https://anonhg.NetBSD.org/src/rev/112b829c3451
branches:  trunk
changeset: 751431:112b829c3451
user:      plunky <plunky%NetBSD.org@localhost>
date:      Wed Feb 03 22:03:56 2010 +0000

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

diffstat:

 external/bsd/pcc/libexec/cpp/Makefile |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 2ea7137be238 -r 112b829c3451 external/bsd/pcc/libexec/cpp/Makefile
--- a/external/bsd/pcc/libexec/cpp/Makefile     Wed Feb 03 21:35:22 2010 +0000
+++ b/external/bsd/pcc/libexec/cpp/Makefile     Wed Feb 03 22:03:56 2010 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index