summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/cc/cc/Makefile1
-rw-r--r--gnu/usr.bin/cc/cpp/Makefile6
-rw-r--r--gnu/usr.bin/cc/f77/Makefile1
3 files changed, 5 insertions, 3 deletions
diff --git a/gnu/usr.bin/cc/cc/Makefile b/gnu/usr.bin/cc/cc/Makefile
index 4f90e71..3dbc859 100644
--- a/gnu/usr.bin/cc/cc/Makefile
+++ b/gnu/usr.bin/cc/cc/Makefile
@@ -7,7 +7,6 @@
PROG= cc
MAN= gcc.1
-NOMAN= # not while compile from GCC repo checkout
SRCS= gcc.c gccspec.c
NOSHARED?=yes
diff --git a/gnu/usr.bin/cc/cpp/Makefile b/gnu/usr.bin/cc/cpp/Makefile
index 16b5eba..56fdc06 100644
--- a/gnu/usr.bin/cc/cpp/Makefile
+++ b/gnu/usr.bin/cc/cpp/Makefile
@@ -7,7 +7,6 @@
PROG= cpp
SRCS= gcc.c cppspec.c
-NOMAN= 1
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
@@ -15,4 +14,9 @@ CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
DPADD+= ${LIBCC_INT}
LDADD+= ${LIBCC_INT}
+CLEANFILES= cpp.1
+
+cpp.1: cccp.1
+ ln -sf ${.ALLSRC} ${.TARGET}
+
.include <bsd.prog.mk>
diff --git a/gnu/usr.bin/cc/f77/Makefile b/gnu/usr.bin/cc/f77/Makefile
index 101a897..8dda51e 100644
--- a/gnu/usr.bin/cc/f77/Makefile
+++ b/gnu/usr.bin/cc/f77/Makefile
@@ -7,7 +7,6 @@
PROG= f77
SRCS= gcc.c g77spec.c version.c
-NOMAN= # not while compile from GCC repo checkout
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
OpenPOWER on IntegriCloud