(stmp-fixproto): Print a notice that warnings and errors from fixproto are normal.
authorRichard Stallman <rms@gnu.org>
Mon, 1 Nov 1993 20:22:53 +0000 (20:22 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 1 Nov 1993 20:22:53 +0000 (20:22 +0000)
(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

index 117e8be867160c49a555b3f5c502189e83ef9f87..9651531c4a5ca4df3534965caf6ff0f8b4e18610 100644 (file)
@@ -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.