From: Serge Hallyn Date: Sat, 15 Jul 2023 12:50:34 +0000 (-0500) Subject: man/po/Makefile: add a comment to shadow-man-pages.pot X-Git-Tag: 4.14.0-rc1~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=35e91daba0c42df264ab2abca72f7546b549e586;p=thirdparty%2Fshadow.git 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 --- 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