Browse Source

Issue #27229: Merge makefile fix from 3.5

pull/9921/head
Martin Panter 10 years ago
parent
commit
cb3a581636
  1. 2
      Makefile.pre.in

2
Makefile.pre.in

@ -790,10 +790,10 @@ $(IO_OBJS): $(IO_H)
$(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGEN)
@$(MKDIR_P) Include
# Avoid copying the file onto itself for an in-tree build
if test "$(cross_compiling)" != "yes"; then \
$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C); \
else \
# Avoid copying the file onto itself for an in-tree build \
cp $(srcdir)/Include/graminit.h $(GRAMMAR_H).tmp; \
mv $(GRAMMAR_H).tmp $(GRAMMAR_H); \
fi

Loading…
Cancel
Save