Skip to content

Commit 39c3e63

Browse files
committed
Added updated edoc makefile
1 parent de166f5 commit 39c3e63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ COMPILE = $(CC) $(CFLAGS) -o $(EBIN)
88
EBIN_DIRS = $(wildcard deps/*/ebin)
99
WEB_DIR = web/
1010
WONDERLAND_DIR = $(WEB_DIR)/wonderland
11+
APP = alice
1112

1213
all: mochi ebin compile
1314
all_boot: all make_boot
@@ -26,7 +27,8 @@ compile:
2627
@$(ERL) -pa $(EBIN_DIRS) -noinput +B -eval 'case make:all() of up_to_date -> halt(0); error -> halt(1) end.'
2728

2829
edoc:
29-
@erl -noshell -run edoc_run application '$(APP)' '"."' '[]'
30+
@echo Generating $(APP) documentation from srcs
31+
@$(ERL) -noinput -eval 'edoc:application($(APP), "./", [{doc, "doc/"}, {files, "src/"}])' -s erlang halt
3032

3133
make_boot:
3234
(cd ebin; erl -pa ebin -noshell -run make_boot write_scripts rest_app)

0 commit comments

Comments
 (0)