Browse Source

Build haxedoc and haxelib from the Makefile.

This used to be in here, but was lost when the Makefile was regenerated. Feel
free to revert if that was intentional.
Bruno Garcia 13 năm trước cách đây
mục cha
commit
3f0bb8da30
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      Makefile

+ 5 - 1
Makefile

@@ -30,7 +30,7 @@ MODULES=ast type lexer common genxml parser typecore optimizer typeload \
 	codegen genas3 gencommon gencpp genjs genneko genphp genswf8 \
 	gencs genjava genswf9 interp genswf typer main
 
-all: libs haxe
+all: libs haxe tools
 
 libs:
 	(cd libs/extlib; make opt)
@@ -42,6 +42,10 @@ libs:
 haxe: $(MODULES:=.cmx)
 	$(OCAMLOPT) -o $(OUTPUT) $(NATIVE_LIBS) $(LIBS) $(MODULES:=.cmx)
 
+tools:
+	(cd std/tools/haxedoc && haxe haxedoc.hxml && cp haxedoc ../../..)
+	(cd std/tools/haxelib && haxe haxelib.hxml && cp haxelib ../../..)
+
 export:
 	cp haxe*.exe doc/CHANGES.txt $(EXPORT)
 	rsync -a --exclude .svn --exclude *.n --exclude std/mt --exclude std/mtwin --delete std $(EXPORT)