diff options
author | Richard Stallman <rms@gnu.org> | 1992-12-31 06:54:03 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-12-31 06:54:03 +0000 |
commit | 7d27b36c31fd19c6a68d45466e32c31b74b8d842 (patch) | |
tree | a0cfdbf2b4e4162d0d11912676bec3c211887463 /gcc | |
parent | e15ee990a61d139b520ba55551cdd64296e37035 (diff) | |
download | gcc-7d27b36c31fd19c6a68d45466e32c31b74b8d842.zip gcc-7d27b36c31fd19c6a68d45466e32c31b74b8d842.tar.gz gcc-7d27b36c31fd19c6a68d45466e32c31b74b8d842.tar.bz2 |
(distdir): New target broken out from gcc.xtar.
Depend on $(srcdir)/INSTALL.
(gcc.xtar): Depend on distdir.
(doc): Delete dep $(srcdir)/INSTALL.
From-SVN: r3005
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/Makefile.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 0df4096..c805116 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1244,7 +1244,7 @@ test-protoize-simple: ./protoize ./unprotoize $(GCC_PASSES) # Remake the info files. -doc: $(srcdir)/cpp.info $(srcdir)/gcc.info $(srcdir)/INSTALL +doc: $(srcdir)/cpp.info $(srcdir)/gcc.info $(srcdir)/cpp.info: cpp.texi makeinfo `echo $(srcdir)/cpp.texi | sed 's,^\./,,'` @@ -1690,7 +1690,11 @@ gcc.xtar.Z: gcc.xtar # compress < gcc-$(version).tar > gcc-$(version).tar.Z #gcc-$(version).tar: -gcc.xtar: doc c-parse.y objc-parse.y +gcc.xtar: distdir +# Make the distribution. + tar chf gcc.xtar gcc-$(version) + +distdir: doc $(srcdir)/INSTALL c-parse.y objc-parse.y if grep -s "for version ${version}" gcc.texi; \ then true; \ else echo "You must update the version number in \`gcc.texi'"; sleep 10;\ @@ -1722,10 +1726,6 @@ gcc.xtar: doc c-parse.y objc-parse.y mv tmp gcc-$(version) # Get rid of everything we don't want in the distribution. cd gcc-$(version); make -f Makefile.in extraclean -# Make the distribution. - tar chf gcc.xtar gcc-$(version) -# Get rid of the temporary directory. - rm -rf gcc-$(version) # do make -f ../gcc/Makefile maketest DIR=../gcc # in the intended test directory to make it a suitable test directory. |