]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
man/po/Makefile: add a comment to shadow-man-pages.pot
authorSerge Hallyn <serge@hallyn.com>
Sat, 15 Jul 2023 12:50:34 +0000 (07:50 -0500)
committerSerge Hallyn <serge@hallyn.com>
Sat, 22 Jul 2023 04:34:32 +0000 (23:34 -0500)
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 <serge@hallyn.com>
man/po/Makefile.in

index f194957b4537836a6f903053ca9abf6cbffc0ba8..14352ad092e3ed638a4f563d2db40da5f888d121 100644 (file)
@@ -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