Page MenuHomeFreeBSD

lang/erlang: Fix documentation chunks build and install
AcceptedPublic

Authored by dumbbell on May 24 2023, 9:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 9, 2:56 AM
Unknown Object (File)
Wed, Oct 9, 2:56 AM
Unknown Object (File)
Wed, Oct 9, 2:56 AM
Unknown Object (File)
Wed, Oct 9, 2:31 AM
Unknown Object (File)
Sep 12 2024, 1:39 AM
Unknown Object (File)
Sep 8 2024, 2:49 PM
Unknown Object (File)
Sep 8 2024, 2:41 PM
Unknown Object (File)
Sep 8 2024, 6:51 AM

Details

Reviewers
olgeni
dch
Summary

Currently, the CHUNKS option is ineffective because chunks are never installed. Also, running make all docs in a single make(1) breaks with Erlang/OTP 26.

This patch splits the build of all and docs into two commands and install docs after the main files. It also uses the DOC_TARGETS make variable to configure which type(s) of documentation to build and install. This changes how FOP and PDF are handled.

Test Plan
poudriere testport (...) lang/erlang

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

dumbbell created this revision.

Remove .if conditions around docs build and install. The DOCS option is not defined/used in this port.

This revision is now accepted and ready to land.Jun 2 2024, 10:31 PM

after building & installing, I still don't see any inline docs via:

$ erl
> l(httpc).
> h(httpc).
...

for example. Are we expecting them to show up anywhere else I should check?