Explorar o código

use full path to executable when building haxelib/haxedoc (fixed issue #1135)

Simon Krajewski %!s(int64=13) %!d(string=hai) anos
pai
achega
38f08478e7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -47,11 +47,11 @@ haxe: $(MODULES:=.cmx)
 	$(OCAMLOPT) -o $(OUTPUT) $(NATIVE_LIBS) $(LIBS) $(MODULES:=.cmx)
 
 haxelib:
-	$(OUTPUT) --cwd "$(CURDIR)/std/tools/haxelib" haxelib.hxml
+	$(CURDIR)/$(OUTPUT) --cwd "$(CURDIR)/std/tools/haxelib" haxelib.hxml
 	cp std/tools/haxelib/haxelib$(EXTENSION) haxelib$(EXTENSION)
 
 haxedoc:
-	$(OUTPUT) --cwd "$(CURDIR)/std/tools/haxedoc" haxedoc.hxml
+	$(CURDIR)/$(OUTPUT) --cwd "$(CURDIR)/std/tools/haxedoc" haxedoc.hxml
 	cp std/tools/haxedoc/haxedoc$(EXTENSION) haxedoc$(EXTENSION)
 
 tools: haxelib haxedoc