Skip to content

Commit

Permalink
Makefile: update docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ledest committed Oct 30, 2023
1 parent 009684f commit dac9842
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ERL ?= erl
ERLC ?= $(ERL)c
EDOC ?= edoc

ifeq ($(NAME),)
NAME != $(ERL) -noshell -eval 'io:put_chars(filename:basename(hd(filelib:wildcard("src/*.app.src")), ".app.src")).' -s init stop
Expand Down Expand Up @@ -31,7 +32,7 @@ ebin/:
mkdir ebin

doc/edoc-info: $(SOURCES)
$(ERL) -noshell -eval 'edoc:application($(NAME), ".", [{new, true}]).' -s init stop
$(EDOC) -app . $(EDOC_OPTS)

$(EUNIT_MODULES): $(SOURCES) $(TEST_SOURCES) .eunit/
$(ERLC) -o .eunit $(ERLC_OPTS) $(ERLC_DEFS) -DTEST $(SOURCES)
Expand Down

0 comments on commit dac9842

Please sign in to comment.