Skip to content

Commit

Permalink
Fix Makefile
Browse files Browse the repository at this point in the history
opamGitVersion wouldn't always get generated depending on the target
  • Loading branch information
AltGr committed Sep 16, 2016
1 parent fd836de commit 861728a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ endef
export PROJ_state

# -- opam-client -- #
opam-client.cma: opam-core.cma opam-format.cma opam-solver.cma opam-repository.cma opam-state.cma ALWAYS
opam-client.cmxa: opam-core.cmxa opam-format.cmxa opam-solver.cmxa opam-repository.cmxa opam-state.cmxa ALWAYS
opam-client.cma: client/opamGitVersion.ml opam-core.cma opam-format.cma opam-solver.cma opam-repository.cma opam-state.cma ALWAYS
opam-client.cmxa: client/opamGitVersion.ml opam-core.cmxa opam-format.cmxa opam-solver.cmxa opam-repository.cmxa opam-state.cmxa ALWAYS

SRC_client = \
opamClientConfig.ml \
Expand Down Expand Up @@ -242,7 +242,7 @@ client/opamGitVersion.ml: ALWAYS
cd .. && ocaml shell/get-git-id.ml src/$@
touch $@

opam: $(addsuffix $(LIBEXT),$(OPAMLIB)) client/opamGitVersion.ml ALWAYS
opam: $(addsuffix $(LIBEXT),$(OPAMLIB)) ALWAYS
$(MAKE) -f $(OCAMLMAKEFILE) subprojs SUBPROJS=opam SUBTARGET=$(BINTARGET)

define PROJ_opam
Expand Down

0 comments on commit 861728a

Please sign in to comment.