summaryrefslogtreecommitdiff
path: root/c++tools
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-12-16 05:14:57 -0800
committerNathan Sidwell <nathan@acm.org>2020-12-16 05:19:06 -0800
commit4d8476b05d7f9707e36f1aaa94a8ba02eed2955f (patch)
tree6247a3a8dcf508b47ee6715d04ee01f59fb3aa24 /c++tools
parent6ff747f023cb4e6289a48dca608ef150e7410b00 (diff)
downloadgcc-4d8476b05d7f9707e36f1aaa94a8ba02eed2955f.tar.gz
c++tools: Fix (an) install issue
This fixes installers that don't understand -p. c++tools/ * Makefile.in (install): Do not use -p, use mkinstalldirs. (clean): Fix typo.
Diffstat (limited to 'c++tools')
-rw-r--r--c++tools/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/c++tools/Makefile.in b/c++tools/Makefile.in
index 49b7fae1526..4ec1419fa5b 100644
--- a/c++tools/Makefile.in
+++ b/c++tools/Makefile.in
@@ -38,7 +38,7 @@ mostlyclean::
rm -f $(MAPPER.O)
clean::
- rm -f c++-mapper-server$(exeext)
+ rm -f g++-mapper-server$(exeext)
distclean::
rm -f config.log config.status config.h
@@ -86,10 +86,11 @@ g++-mapper-server$(exeext): $(MAPPER.O) $(CODYLIB)
all::../gcc/g++-mapper-server$(exeext)
../gcc/g++-mapper-server$(exeext): g++-mapper-server$(exeext)
- $(INSTALL) -p $< $@
+ $(INSTALL) $< $@
install::
- $(INSTALL) -p g++-mapper-server$(exeext) $(DESTDIR)$(libexecsubdir)
+ $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(libexecsubdir)
+ $(INSTALL) g++-mapper-server$(exeext) $(DESTDIR)$(libexecsubdir)
endif