Page MenuHomeFreeBSD

Finiding hugo, python, asciidoctor, asciidoctor-pdf, rougify in different platform so users do not need to create symbolic links manually
Needs RevisionPublic

Authored by on Sep 12 2021, 3:40 PM.


Group Reviewers

In adding cross-build description patch, I added the method to build doc on other platforms. However, some programs installed in /usr/bin/ may need to be added to /usr/local/bin/ because some package managers such as dnf and apt instsall in /usr/bin/. If this patch makes Makefile complicated, there is another solution to specify only the command. (for example, PYTHON_CMD=python3 instead of PYTHON_CMD=/usr/bin/local/python3)

Test Plan

Works fine on macOS and FreeBSD. It does not may on Linux, but it is the problem of distro. (see

Diff Detail

R9 FreeBSD doc repository
Lint Skipped
Unit Tests Skipped

Event Timeline

ygy requested changes to this revision.Sep 17 2021, 2:38 AM
ygy added a subscriber: ygy.

I object to the platform-dependent changes to the Makefiles. It sounds unnecessary and error-prone to me. For example, different flavors of GNU/Linux could have different executable locations, and we can't and shouldn't attempt to support all of them.

This revision now requires changes to proceed.Sep 17 2021, 2:38 AM