Skip to content

Commit

Permalink
Fix compilation from source archives when using already-installed pac…
Browse files Browse the repository at this point in the history
…kages.
  • Loading branch information
samoht committed Feb 26, 2013
1 parent f7e8ddd commit d67a12d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -7,7 +7,7 @@ TARGETS = opam opam-mk-repo

.PHONY: all

all: $(LOCAL_OCPBUILD) META src/core/opamGitVersion.ml
all: $(LOCAL_OCPBUILD) META
$(MAKE) clone
$(MAKE) compile

Expand All @@ -27,7 +27,7 @@ OCAMLFIND_DIR=$(shell ocamlfind printconf destdir)
prepare: depends.ocp.in
sed "s|%{lib}%|$(OCAMLFIND_DIR)|g" depends.ocp.in > depends.ocp

compile: $(LOCAL_OCPBUILD)
compile: $(LOCAL_OCPBUILD) src/core/opamGitVersion.ml
$(OCPBUILD) -init -scan -sanitize $(TARGET)

clone:
Expand Down

0 comments on commit d67a12d

Please sign in to comment.