Browse Source

[all] fixed issue #1553 ; made installed 'haxe' be a symbolic link

Caue Waneck 12 years ago
parent
commit
eefa9faf56
2 changed files with 4 additions and 3 deletions
  1. 2 1
      Makefile
  2. 2 2
      std/tools/haxedoc/haxedoc.sh

+ 2 - 1
Makefile

@@ -61,7 +61,8 @@ haxedoc:
 tools: haxelib haxedoc
 
 install:
-	cp haxe $(INSTALL_DIR)/bin/haxe
+	rm -rf $(INSTALL_DIR)/bin/haxe
+	ln -s $(CURDIR)/haxe $(INSTALL_DIR)/bin/haxe
 	rm -rf $(INSTALL_DIR)/lib/haxe
 	mkdir $(INSTALL_DIR)/lib/haxe
 	cp -r std $(INSTALL_DIR)/lib/haxe

+ 2 - 2
std/tools/haxedoc/haxedoc.sh

@@ -1,2 +1,2 @@
-#!/bin/sh
-haxe --run tools.haxedoc.Main $@
+#!/bin/sh
+haxe --run tools.haxedoc.Main $@