mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
build: Do not generate 'CODEOWNERS' when cross-compiling.
Fixes: guix/guix#812 * Makefile.am (CODEOWNERS): wrap it with in_git_p and !CROSS_COMPILING. Change-Id: I65389947d3065d470739ca1a12398551be2178c1
This commit is contained in:
parent
aad58447fc
commit
10ffc93325
1 changed files with 4 additions and 1 deletions
|
@ -1322,12 +1322,15 @@ download-po:
|
|||
.PHONY: download-po
|
||||
|
||||
# Regenerate 'CODEOWNERS' when 'teams.scm' is modified so we don't forget.
|
||||
if in_git_p
|
||||
if !CROSS_COMPILING
|
||||
CODEOWNERS: etc/teams.scm scripts/guix
|
||||
./etc/teams.scm codeowners > "$@.tmp"
|
||||
mv "$@.tmp" "$@"
|
||||
|
||||
BUILT_SOURCES += CODEOWNERS
|
||||
|
||||
endif
|
||||
endif
|
||||
## -------------- ##
|
||||
## Silent rules. ##
|
||||
## -------------- ##
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue