From 35e91daba0c42df264ab2abca72f7546b549e586 Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Sat, 15 Jul 2023 07:50:34 -0500 Subject: [PATCH] man/po/Makefile: add a comment to shadow-man-pages.pot Add a comment at the top of that file explaining how to regenerate it. We should add a README, but I don't have time to draft one right now. Signed-off-by: Serge Hallyn --- man/po/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/man/po/Makefile.in b/man/po/Makefile.in index f194957b4..14352ad09 100644 --- a/man/po/Makefile.in +++ b/man/po/Makefile.in @@ -114,6 +114,8 @@ $(DOMAIN).pot-update: $(XMLFILES) $(srcdir)/XMLFILES remove-potcdate.sed else \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ + sed -i '1i \ +# To re-generate, run "cd man/po; make update-po"' $(srcdir)/$(DOMAIN).pot; \ } # This rule has no dependencies: we don't need to update $(DOMAIN).pot at -- 2.47.2