Parcourir la source

added install_tools

Nicolas Cannasse il y a 12 ans
Parent
commit
0ba0e6e54a
1 fichiers modifiés avec 7 ajouts et 1 suppressions
  1. 7 1
      Makefile

+ 7 - 1
Makefile

@@ -71,7 +71,13 @@ install:
 	cp std/tools/haxelib/haxelib.sh $(INSTALL_DIR)/bin/haxelib
 	cp std/tools/haxedoc/haxedoc.sh $(INSTALL_DIR)/bin/haxedoc
 	chmod a+rx $(INSTALL_DIR)/bin/haxe $(INSTALL_DIR)/bin/haxelib $(INSTALL_DIR)/bin/haxedoc
-	
+
+# will install native version of the tools instead of script ones
+install_tools: tools
+	cp haxelib ${INSTALL_DIR}/bin/haxelib
+	cp haxedoc ${INSTALL_DIR}/bin/haxedoc
+	chmod a+rx $(INSTALL_DIR)/bin/haxelib $(INSTALL_DIR)/bin/haxedoc
+
 uninstall:
 	rm -rf $(INSTALL_DIR)/bin/haxe $(INSTALL_DIR)/bin/haxelib $(INSTALL_DIR)/lib/haxe