public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-6136] c++tools: Fix (an) install issue
@ 2020-12-16 13:19 Nathan Sidwell
0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2020-12-16 13:19 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:4d8476b05d7f9707e36f1aaa94a8ba02eed2955f
commit r11-6136-g4d8476b05d7f9707e36f1aaa94a8ba02eed2955f
Author: Nathan Sidwell <nathan@acm.org>
Date: Wed Dec 16 05:14:57 2020 -0800
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.
Diff:
---
c++tools/Makefile.in | 7 ++++---
1 file 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-16 13:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 13:19 [gcc r11-6136] c++tools: Fix (an) install issue Nathan Sidwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).