diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 318ff7c..915c497 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,16 +21,17 @@ jobs: - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 with: fetch-depth: 0 - - name: Install additional packages - run: | - apt-get update - apt-get install -y texinfo + # - name: Install additional packages + # run: | + # apt-get update + # apt-get install -y texinfo - name: Compile and run tests env: BUILD_WITHOUT_QUIC: "true" run: | git config --global --add safe.directory $(pwd) - make all docs + chmod +x scripts/docgen.escript + make docs - name: Create release package shell: bash run: | diff --git a/Makefile b/Makefile index 7ea9300..0b13554 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ doc/html/index.html: $(TEXINFO) texi2any -I doc/lee --html -c INFO_JS_DIR=js -c HTML_MATH=mathjax -o doc/html/ $< $(TEXINFO): scripts/docgen.escript compile - $(CURDIR)/scripts/docgen.escript doc/lee + scripts/docgen.escript doc/lee .PHONY: clean clean: distclean diff --git a/scripts/docgen.escript b/scripts/docgen.escript index e4992e4..3238522 100755 --- a/scripts/docgen.escript +++ b/scripts/docgen.escript @@ -1,7 +1,9 @@ -#!/usr/bin/escript +#!/usr/bin/env escript %%! -pa _build/default/lib/lee/ebin -pa _build/default/lib/typerefl/ebin -pa _build/default/lib/emqttb/ebin %% -*- erlang -*- +-mode(compile). + -include_lib("lee/include/lee.hrl"). main(OutDir) ->