commit: 078fb692c3dc78c2c4ab829d1680cd045233c256 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Tue Jan 27 07:57:15 2026 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Tue Jan 27 07:57:15 2026 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=078fb692
Makefile: specify q as order-only-prerequisite We don't want to rebuild manpages when q changes (that would be always), but we need it to be built in order to run the applet. The previous approach to just calling `make q` in the target's command may have caused parallel issues as reported in https://bugs.gentoo.org/969252#c3. Bug: https://bugs.gentoo.org/969252 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> Makefile.am | 3 +-- Makefile.in | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 904dc1c0..c28f27a5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -103,8 +103,7 @@ dist_man_MANS += man/qmanifest.1 APPLETS += qmanifest endif -man/%.1: %.c applets.h man/include/%.optdesc.yaml man/include/%.desc - $(MAKE) q +man/%.1: %.c applets.h man/include/%.optdesc.yaml man/include/%.desc | q man/mkman.py $@ install-exec-hook: diff --git a/Makefile.in b/Makefile.in index b0c54b5f..2d67433e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -2559,8 +2559,7 @@ uninstall-man: uninstall-man1 .PRECIOUS: Makefile -man/%.1: %.c applets.h man/include/%.optdesc.yaml man/include/%.desc - $(MAKE) q +man/%.1: %.c applets.h man/include/%.optdesc.yaml man/include/%.desc | q man/mkman.py $@ install-exec-hook:
