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.
This commit is contained in:
Nathan Sidwell 2020-12-16 05:14:57 -08:00
parent 6ff747f023
commit 4d8476b05d
1 changed files with 4 additions and 3 deletions

View File

@ -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