소스 검색

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 년 전
부모
커밋
3f0bb8da30
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  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)