Commit 98e4b835 by Richard Stallman

(stmp-fixincludes): Don't run FIXINCLUDES if it is Makefile.in.

From-SVN: r3413
parent 030f365a
...@@ -227,6 +227,7 @@ LIBCONVERT = ...@@ -227,6 +227,7 @@ LIBCONVERT =
INSTALL_HEADERS=install-headers INSTALL_HEADERS=install-headers
# Select which version of fixincludes to use (I.E. regular versus SVR4) # Select which version of fixincludes to use (I.E. regular versus SVR4)
# This value is overridden directly by configure.
FIXINCLUDES=fixincludes FIXINCLUDES=fixincludes
# Additional directories of header files to run fixincludes on. # Additional directories of header files to run fixincludes on.
...@@ -1312,12 +1313,16 @@ stmp-headers: stmp-fixincludes $(USER_H) gvarargs.h gstdarg.h gstddef.h gsyslimi ...@@ -1312,12 +1313,16 @@ stmp-headers: stmp-fixincludes $(USER_H) gvarargs.h gstdarg.h gstddef.h gsyslimi
stmp-fixincludes: $(srcdir)/$(FIXINCLUDES) stmp-fixincludes: $(srcdir)/$(FIXINCLUDES)
rm -rf include rm -rf include
mkdir include mkdir include
for dir in $(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS); do \ if [ $(FIXINCLUDES) != Makefile.in ] \
if [ -d $$dir ]; \ then \
then \ for dir in $(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS); do \
$(srcdir)/$(FIXINCLUDES) include $$dir $(srcdir); \ if [ -d $$dir ]; \
else true; fi; \ then \
done $(srcdir)/$(FIXINCLUDES) include $$dir $(srcdir); \
else true; fi; \
done \
else true; \
fi
touch stmp-fixincludes touch stmp-fixincludes
# 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