34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
$NetBSD: patch-ab,v 1.2 1998/08/07 11:10:42 agc Exp $
|
|
|
|
--- support/cpp-Makefile.orig Thu Aug 17 04:40:19 1995
|
|
+++ support/cpp-Makefile Fri Jun 26 15:32:27 1998
|
|
@@ -114,7 +114,7 @@
|
|
#endif
|
|
|
|
FINGERDIR = FingerDir
|
|
-TARGETDIR = $(FINGERDIR)/targets
|
|
+TARGETD = TargetDir
|
|
FINGERLIBDIR = $(.CURDIR)/../lib/
|
|
FINGERLIBOBJDIR = $(FINGERLIBDIR)$(MAKEOBJDIR)
|
|
FINGERLIB = $(FINGERLIBOBJDIR)/libfinger.a
|
|
@@ -313,15 +313,15 @@
|
|
|
|
STAR = *
|
|
install.targets:
|
|
- test -d $(DESTDIR)$(TARGETDIR) || mkdir $(DESTDIR)$(TARGETDIR)
|
|
+ test -d $(DESTDIR)$(TARGETD) || mkdir -p $(DESTDIR)$(TARGETD)
|
|
@for f in $(.CURDIR)/targets/$(STAR); do \
|
|
bname=`basename $$f` ; \
|
|
if [ ! -f $$f ]; then continue; fi ; \
|
|
- if [ ! -f $(DESTDIR)$(TARGETDIR)/$$bname ]; then \
|
|
- echo "installing $(DESTDIR)$(TARGETDIR)/$$bname" ; \
|
|
- $(INSTALLSCRIPT) $$f $(DESTDIR)$(TARGETDIR)/$$bname ; \
|
|
+ if [ ! -f $(DESTDIR)$(TARGETD)/$$bname ]; then \
|
|
+ echo "installing $(DESTDIR)$(TARGETD)/$$bname" ; \
|
|
+ $(INSTALLSCRIPT) $$f $(DESTDIR)$(TARGETD)/$$bname ; \
|
|
else \
|
|
- echo "not overwriting existing $(DESTDIR)$(TARGETDIR)/$$bname" ; \
|
|
+ echo "not overwriting existing $(DESTDIR)$(TARGETD)/$$bname" ; \
|
|
fi ; \
|
|
done
|
|
|