summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorburley <burley@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-07 06:44:07 +0000
committerburley <burley@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-07 06:44:07 +0000
commit8936006821ca7ed89baf35b3a495d69a83699588 (patch)
tree26f38c7d99f824df438729e43f7a220284046e76 /gcc
parent94965d97486dbc54aa8ac58c7475112784ffa29f (diff)
downloadppe42-gcc-8936006821ca7ed89baf35b3a495d69a83699588.tar.gz
ppe42-gcc-8936006821ca7ed89baf35b3a495d69a83699588.zip
Any target using libsubdir must depend on installdirs
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27389 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/f/ChangeLog5
-rw-r--r--gcc/f/Make-lang.in16
2 files changed, 17 insertions, 4 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index 2fb74f6c090..e8d745a88ee 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jun 7 08:42:40 1999 Craig Burley <craig@jcb-sc.com>
+
+ * Make-lang.in: Any target using libsubdir must depend
+ on installdirs.
+
Sat Jun 5 23:50:36 1999 Craig Burley <craig@jcb-sc.com>
* g77.texi: Describe a few more missing features people
diff --git a/gcc/f/Make-lang.in b/gcc/f/Make-lang.in
index c2742c43ea8..a531abb5707 100644
--- a/gcc/f/Make-lang.in
+++ b/gcc/f/Make-lang.in
@@ -308,7 +308,9 @@ f77.install-normal:
# Install the driver program as $(target)-g77
# and also as either g77 (if native) or $(tooldir)/bin/g77.
-f77.install-common:
+# Make sure `installdirs' target (from gcc Makefile) has been
+# run, since we use libsubdir to store our `flag' file, lang-f77.
+f77.install-common: installdirs
case "$(LANGUAGES)" in \
*[fF]77*) touch $(libsubdir)/lang-f77;; \
*) rm -f $(libsubdir)/lang-f77;; \
@@ -337,7 +339,9 @@ f77.install-common:
# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
# to do the install. The sed rule was copied from stmp-int-hdrs.
-f77.install-info: f77.info
+# Make sure `installdirs' target (from gcc Makefile) has been
+# run, since we use libsubdir to store our `flag' file, lang-f77.
+f77.install-info: f77.info installdirs
case "$(LANGUAGES)" in \
*[fF]77*) touch $(libsubdir)/lang-f77;; \
*) rm -f $(libsubdir)/lang-f77;; \
@@ -358,7 +362,9 @@ f77.install-info: f77.info
else : ; fi
rm -f $(libsubdir)/lang-f77
-f77.install-man: $(srcdir)/f/g77.1
+# Make sure `installdirs' target (from gcc Makefile) has been
+# run, since we use libsubdir to store our `flag' file, lang-f77.
+f77.install-man: $(srcdir)/f/g77.1 installdirs
case "$(LANGUAGES)" in \
*[fF]77*) touch $(libsubdir)/lang-f77;; \
*) rm -f $(libsubdir)/lang-f77;; \
@@ -376,7 +382,9 @@ f77.install-man: $(srcdir)/f/g77.1
else true; fi
rm -f $(libsubdir)/lang-f77
-f77.uninstall:
+# Make sure `installdirs' target (from gcc Makefile) has been
+# run, since we use libsubdir to store our `flag' file, lang-f77.
+f77.uninstall: installdirs
case "$(LANGUAGES)" in \
*[fF]77*) touch $(libsubdir)/lang-f77;; \
*) rm -f $(libsubdir)/lang-f77;; \
OpenPOWER on IntegriCloud