Skip to content

Make 'docs' target not depend on 'install.tools' if GOMD2MAN is set#507

Merged
rhatdan merged 1 commit intocontainers:mainfrom
Flowdalic:no-tools-if-gomd2man-set
May 13, 2024
Merged

Make 'docs' target not depend on 'install.tools' if GOMD2MAN is set#507
rhatdan merged 1 commit intocontainers:mainfrom
Flowdalic:no-tools-if-gomd2man-set

Conversation

@Flowdalic
Copy link
Contributor

If the GOMD2MAN (environment) variable is set, then we do not need the 'docs' target to depend on 'install.tools', which will build gomd2man.

This avoids gomd2man to be build, even though the user already request the usage of a particular gomd2man binary. It also removes an implicit build dependency on go. The latter causes downstream bugs like https://bugs.gentoo.org/931645

If the GOMD2MAN (environment) variable is set, then we do not need the
'docs' target to depend on 'install.tools', which will build
gomd2man.

This avoids gomd2man to be build, even though the user already request
the usage of a particular gomd2man binary. It also removes an implicit
build dependency on go. The latter causes downstream bugs like
https://bugs.gentoo.org/931645

Signed-off-by: Florian Schmaus <flo@geekplace.eu>
@packit-as-a-service
Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request May 9, 2024
Apply containers/conmon#507 to avoid the 'doc'
target from depending on 'install.tools' target if GOMD2MAN is set.

Closes: https://bugs.gentoo.org/931645
Signed-off-by: Florian Schmaus <flow@gentoo.org>
@edsantiago
Copy link
Member

LGTM. Thank you.

@rhatdan
Copy link
Member

rhatdan commented May 13, 2024

LGTM

@rhatdan rhatdan merged commit 49b3f43 into containers:main May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants