Skip to content

Commit 44c5c74

Browse files
committed
use new documentation feature in Makefile
1 parent bff3131 commit 44c5c74

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ JAVAC = javac -encoding UTF-8
2323
YACC = pbyacc
2424
# JAVA = java7 -XX:+TieredCompilation "-Dfrege.javac=javac -J-Xmx512m"
2525
# JAVA = java7 -XX:+TieredCompilation -Dfrege.javac=internal
26-
JAVA = java7 -Dfrege.javac=internal
26+
JAVA = java -Dfrege.javac=internal
2727

2828

2929
DOC = ../frege.github.com/doc
@@ -394,12 +394,9 @@ runtime:
394394
doc/index.html: $(RUNTIME)
395395

396396

397-
docu: build/frege/tools/Doc.class
397+
docu: fregec.jar
398398
javadoc -private -sourcepath . -d $(DOC) -encoding UTF-8 frege.runtime
399-
$(FREGECC) -make frege/StandardLibrary.fr
400-
perl scripts/gendocmk.pl $(DOC) >makedoc
401-
$(MAKE) -f makedoc docu
402-
rm makedoc
399+
$(JAVA) -cp fregec.jar frege.tools.Doc -v -d $(DOC) -x frege.compiler,frege.runtime,frege.S,frege.V fregec.jar
403400

404401

405402
#

0 commit comments

Comments
 (0)