From 7d27b36c31fd19c6a68d45466e32c31b74b8d842 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Thu, 31 Dec 1992 06:54:03 +0000 Subject: [PATCH] (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 --- gcc/Makefile.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 0df4096145e..c805116cda6 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. -- 2.30.2