Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Makefile.

  • Loading branch information...
commit b05a71562c9467cb8e5f65e24988c6b1dfb2c976 1 parent 04b6b88
Jonathan Protzenko authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
4 Makefile
View
@@ -2,7 +2,7 @@ NSIS=/c/Program\ Files\ \(x86\)/NSIS/makensisw.exe
SCRIPT=install.nsi
OCAMLROOT=/c/ocamlmgw
-all: util
+all: util version
$(NSIS) $(SCRIPT)
# Regenerate if gen_files.ml changed or there's a new ocaml version (and
@@ -13,4 +13,4 @@ util: gen_files.ml $(OCAMLROOT)/bin/ocaml.exe
./gen_files.byte $(OCAMLROOT)
version: $(OCAMLROOT)/bin/ocaml.exe
- $(shell echo "!define MUI_VERSION \""`ocaml -version | sed 's/.*version \([^ ]\+\).*/\1/g'`"\"" > version.nsh)
+ $(shell echo "!define MUI_VERSION \""`$(OCAMLROOT)/bin/ocaml.exe -version | sed 's/.*version \([^ ]\+\).*/\1/g'`"\"" > version.nsh)
Please sign in to comment.
Something went wrong with that request. Please try again.