llvm.org GIT mirror llvm / 7252dc0
Refresh Makefile.ocaml in objdir if it is modified in srcdir. Patch by Erick Tryzelaar! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48149 91177308-0d34-0410-b5e6-96231b3b80d8 Gordon Henriksen 12 years ago
2 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
158158 #------------------------------------------------------------------------
159159 ifneq ($(PROJ_OBJ_DIR),$(PROJ_SRC_DIR))
160160
161 Makefile: $(PROJ_SRC_DIR)/Makefile
161 Makefile: $(PROJ_SRC_DIR)/Makefile $(ExtraMakefiles)
162162 $(Echo) "Updating Makefile"
163163 $(Verb) $(MKDIR) $(@D)
164164 $(Verb) $(CP) -f $< $@
170170 @case '$?' in \
171171 *Makefile.rules) ;; \
172172 *.in) ;; \
173 *) $(Echo) "Updating $(@F)" ; \
173 *) $(EchoCmd) "Updating $(@F)" ; \
174174 $(MKDIR) $(@D) ; \
175175 $(CP) -f $< $@ ;; \
176176 esac
88
99 LEVEL := ../..
1010 DIRS = llvm bitreader bitwriter analysis executionengine
11 ExtraMakefiles = $(PROJ_OBJ_DIR)/Makefile.ocaml
1112
1213 ocamldoc:
1314 $(Verb) for i in $(DIRS) ; do \