diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-07-13 18:48:24 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-07-13 18:48:24 -0400 |
commit | eb3a6507538a18ed673f1e395ab7d5a4532f1dd7 (patch) | |
tree | aa0d0bacf83102325bb49609a42ea39169831657 /gcc | |
parent | 80bdd32a2af5e870ab7d69abe086805d13cb2bbd (diff) | |
download | gcc-eb3a6507538a18ed673f1e395ab7d5a4532f1dd7.zip gcc-eb3a6507538a18ed673f1e395ab7d5a4532f1dd7.tar.gz gcc-eb3a6507538a18ed673f1e395ab7d5a4532f1dd7.tar.bz2 |
(distdir-start): Make tmp/ginclude and copy its files.
(distdir-finish): Don't use -f Makefile.in.
From-SVN: r7770
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/Makefile.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 3cc43b9..f8062f7 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2119,6 +2119,7 @@ distdir-start: doc $(srcdir)/INSTALL c-parse.y c-gperf.h objc-parse.y \ # which has the name that we want to have in the tar file. mkdir tmp mkdir tmp/config + mkdir tmp/ginclude mkdir tmp/objc for file in *[0-9a-zA-Z+]; do \ ln $$file tmp > /dev/null 2>&1 || cp $$file tmp; \ @@ -2138,6 +2139,10 @@ distdir-start: doc $(srcdir)/INSTALL c-parse.y c-gperf.h objc-parse.y \ || cp $$file ../tmp/config; \ fi; \ done + cd ginclude; \ + for file in *[0-9a-zA-Z+]; do \ + ln $$file ../tmp/ginclude >/dev/null 2>&1 || cp $$file ../tmp/ginclude; \ + done cd objc; \ for file in *[0-9a-zA-Z+]; do \ ln $$file ../tmp/objc >/dev/null 2>&1 || cp $$file ../tmp/objc; \ @@ -2147,8 +2152,10 @@ distdir-start: doc $(srcdir)/INSTALL c-parse.y c-gperf.h objc-parse.y \ # Finish making `distdir', after the languages have done their thing. distdir-finish: mv tmp gcc-$(version) -# Get rid of everything we don't want in the distribution. - cd gcc-$(version); make -f Makefile.in extraclean +# Get rid of everything we don't want in the distribution. We'd want +# this to use Makefile.in, but it doesn't have the `lang.foo' targets +# expanded. + cd gcc-$(version); make extraclean distdir: distdir-start lang.distdir distdir-finish |