summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/cc/cc/Makefile2
-rw-r--r--gnu/usr.bin/cc/cpp/Makefile7
2 files changed, 2 insertions, 7 deletions
diff --git a/gnu/usr.bin/cc/cc/Makefile b/gnu/usr.bin/cc/cc/Makefile
index ae8745b..446b6eb 100644
--- a/gnu/usr.bin/cc/cc/Makefile
+++ b/gnu/usr.bin/cc/cc/Makefile
@@ -3,7 +3,7 @@
.include "../Makefile.inc"
.include "../Makefile.fe"
-.PATH: ${GCCDIR}
+.PATH: ${GCCDIR} ${GCCDIR}/doc
PROG= cc
MAN= gcc.1
diff --git a/gnu/usr.bin/cc/cpp/Makefile b/gnu/usr.bin/cc/cpp/Makefile
index 415d63d..cbac743 100644
--- a/gnu/usr.bin/cc/cpp/Makefile
+++ b/gnu/usr.bin/cc/cpp/Makefile
@@ -3,7 +3,7 @@
.include "../Makefile.inc"
.include "../Makefile.fe"
-.PATH: ${GCCDIR}
+.PATH: ${GCCDIR} ${GCCDIR}/doc
PROG= cpp
SRCS= gcc.c cppspec.c
@@ -11,9 +11,4 @@ SRCS= gcc.c cppspec.c
DPADD= ${LIBCC_INT}
LDADD= ${LIBCC_INT}
-CLEANFILES= cpp.1
-
-cpp.1: cccp.1
- cat ${.ALLSRC} > ${.TARGET}
-
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud