From db4e119fc96c0948789a8f08fe1bde6d3d71b422 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Mon, 1 Nov 1993 20:22:53 +0000 Subject: [PATCH] (stmp-fixproto): Print a notice that warnings and errors from fixproto are normal. (stmp-fixproto): Print a notice that warnings and errors from fixproto are normal. (distdir): Avoid spurious output from gcc.texi version number check. (diff): New target. From-SVN: r5965 --- gcc/Makefile.in | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 117e8be8671..9651531c4a5 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1615,6 +1615,7 @@ fixhdr.ready: fix-header # stmp-headers is to make sure fixincludes has already finished. stmp-fixproto: fixhdr.ready xsys-protos.h fixproto stmp-headers + @echo "Various warnings and error messages from fixproto are normal" CPP="$(GCC_FOR_TARGET) -E"; export CPP; \ ${srcdir}/fixproto include include $(SYSTEM_HEADER_DIR) touch stmp-fixproto @@ -2010,7 +2011,7 @@ gcc.xtar: distdir distdir: doc $(srcdir)/INSTALL c-parse.y objc-parse.y cp-parse.y \ c-parse.c cp-parse.c objc-parse.c cexp.c - if grep -s "for version ${mainversion}" gcc.texi; \ + @if grep -s "for version ${mainversion}" gcc.texi > /dev/null; \ then true; \ else echo "You must update the version number in \`gcc.texi'"; sleep 10;\ fi @@ -2053,6 +2054,16 @@ distdir: doc $(srcdir)/INSTALL c-parse.y objc-parse.y cp-parse.y \ # Get rid of everything we don't want in the distribution. cd gcc-$(version); make -f Makefile.in extraclean +# make diff oldversion=M.N +# creates a diff file between an older distribution and this one. +# The -P option assumes this is GNU diff. +diff: + diff -rc2P -x c-parse.y -x c-parse.c -x c-parse.h -x objc-parse.y \ + -x cp-parse.c -x cp-parse.h -x cexp.c \ + -x objc-parse.c -x TAGS -x "gcc.??" -x "gcc.??z" -x gcc.aux \ + -x "cpp.??s" -x "cpp.??" -x cpp.aux -x "cpp.info*" -x "gcc.info*" \ + gcc-$(oldversion) gcc-$(version) > diffs + # do make -f ../gcc/Makefile maketest DIR=../gcc # in the intended test directory to make it a suitable test directory. # THIS IS OBSOLETE; use the -srcdir operand in configure instead. -- 2.30.2