-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
GNUmakefile: Simplify installing mans and completions #8978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
GNU testsuite comparison: |
|
@sylvestre This will not work if the user is cross-compiling to a foreign architecture. build-uudoc will generate a binary of the target architecture (e.g. arm64), and the execution of |
|
It seems same for previous style and needed to fix |
As far as I understand, previous style was using the command |
|
I think we can drop |
Yes, something like that. Or keep build-uudoc, but make sure that it is compiled for the host architecture (no CARGOFLAGS and no BUILDDIR). |
|
I think current project is not buildable with cc @aaron-ang |
|
Also needed to care about avoiding double build of crates ar native build by omitting CARGOFLAGS when we support cross-build.
|
It is buildable as far as I know. See https://github.com/Ecordonnier/coreutils/pull/3/files for some instructions. I get this error on my x64 PC: |
|
uudoc takes many times to build if we don't have caches given by building coreutils with same target (even fallbacked todebug profile).
I think we should not have docs as a binary.
|
|
Lines 437 to 465 in 21ee64c
This looks duplication. Is 1st one used at built process? |
Simplify installing mans and completions. Prepare for reducing deps on system commands.