Commit db4e119f by Richard Stallman

(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
parent 86e33dc9
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment