commit:     62b9a5dd3e04da51bda81ce665c0d31a824971df
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 26 12:40:30 2026 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Jan 26 12:40:30 2026 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=62b9a5dd

man: rebuild when yaml files for the applet change too

This doesn't cover all cases with more complex includes, but covers the
bulk of operations now without completely rebuilding on every make run.

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 Makefile.am | 2 +-
 Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index b09a7587..904dc1c0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -103,7 +103,7 @@ dist_man_MANS += man/qmanifest.1
 APPLETS += qmanifest
 endif
 
-man/%.1: %.c applets.h
+man/%.1: %.c applets.h man/include/%.optdesc.yaml man/include/%.desc
        $(MAKE) q
        man/mkman.py $@
 

diff --git a/Makefile.in b/Makefile.in
index 82148cb0..4eca48eb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -2556,7 +2556,7 @@ uninstall-man: uninstall-man1
 .PRECIOUS: Makefile
 
 
-man/%.1: %.c applets.h
+man/%.1: %.c applets.h man/include/%.optdesc.yaml man/include/%.desc
        $(MAKE) q
        man/mkman.py $@
 

Reply via email to