summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc2/cpp
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1993-07-28 00:40:12 +0000
committercgd <cgd@NetBSD.org>1993-07-28 00:40:12 +0000
commit5158757c0f3636e0ce801ff898f4af3a1af0eacf (patch)
tree98b9bf8f6f6585ea15230d6b1776df838e5ed192 /gnu/usr.bin/gcc2/cpp
parent799eb7d029de0a73e4bc8b94b9688a0a09950aaa (diff)
incorporate changes from 0-9-base to 0-9-ALPHA
Diffstat (limited to 'gnu/usr.bin/gcc2/cpp')
-rw-r--r--gnu/usr.bin/gcc2/cpp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc2/cpp/Makefile b/gnu/usr.bin/gcc2/cpp/Makefile
index 9d2fa7c57e3..960aa6f1f49 100644
--- a/gnu/usr.bin/gcc2/cpp/Makefile
+++ b/gnu/usr.bin/gcc2/cpp/Makefile
@@ -9,12 +9,15 @@ CFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/../common \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/include/g++\"
YFLAGS=
-MLINKS= gcpp.1 cpp.1
+MLINKS= cpp.1 gcpp.1
.PATH: $(.CURDIR)/../common
afterinstall:
install -c -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) \
$(.CURDIR)/usr.bin.cpp.sh $(DESTDIR)/usr/bin/cpp
+ @/bin/rm -rf $(DESTDIR)/usr/bin/gcpp
+ @ln $(DESTDIR)/usr/bin/cpp $(DESTDIR)/usr/bin/gcpp
+ @echo $(DESTDIR)/usr/bin/gcpp -\> $(DESTDIR)/usr/bin/cpp
.include <bsd.prog.mk>