This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Ada makefile fix for relative srcdir
- From: Andreas Schwab <schwab at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 28 Feb 2003 21:30:20 +0100
- Subject: Ada makefile fix for relative srcdir
When srcdir is relative you get error messages from cd during
installation, because ada/Makefile tries to cd to $(srcdir).
Andreas.
2003-02-28 Andreas Schwab <schwab at suse dot de>
* Make-lang.in (install-gnatlib): Change to ada directory before
running make instead of using ada/Makefile directly.
--- gcc/ada/Make-lang.in.~1.25.~ 2003-02-03 10:19:57.000000000 +0100
+++ gcc/ada/Make-lang.in 2003-02-28 18:18:51.000000000 +0100
@@ -695,7 +695,7 @@ ada.install-common:
fi
install-gnatlib:
- $(MAKE) -f ada/Makefile $(FLAGS_TO_PASS) $(ADA_FLAGS_TO_PASS) install-gnatlib
+ cd ada && $(MAKE) $(FLAGS_TO_PASS) $(ADA_FLAGS_TO_PASS) install-gnatlib
ada.install-info:
ada.install-man:
--
Andreas Schwab, SuSE Labs, schwab at suse dot de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."