Commit 700ba19c by Richard Stallman

(stmp-fixproto): Never run fixproto twice.

From-SVN: r6125
parent 55cd1c09
...@@ -1614,10 +1614,16 @@ fixhdr.ready: fix-header ...@@ -1614,10 +1614,16 @@ fixhdr.ready: fix-header
fi fi
# stmp-headers is to make sure fixincludes has already finished. # stmp-headers is to make sure fixincludes has already finished.
# The if statement is so that we don't run fixproto a second time
# if it has already been run on the files in `include'.
stmp-fixproto: fixhdr.ready fixproto stmp-headers stmp-fixproto: fixhdr.ready fixproto stmp-headers
@echo "Various warnings and error messages from fixproto are normal" @echo "Various warnings and error messages from fixproto are normal"
CPP="$(GCC_FOR_TARGET) -E"; export CPP; \ if [ -f include/fixed ] ; then true; \
${srcdir}/fixproto include include $(SYSTEM_HEADER_DIR) else \
CPP="$(GCC_FOR_TARGET) -E"; export CPP; \
${srcdir}/fixproto include include $(SYSTEM_HEADER_DIR); \
touch include/fixed; \
fi
touch stmp-fixproto touch stmp-fixproto
# Remake the info files. # Remake the info files.
......
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