From: Serge Hallyn Date: Tue, 16 Jun 2026 17:35:03 +0000 (-0500) Subject: Make man/po update-po more robust X-Git-Tag: 4.20.0-rc1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31957c7b954e176f7b2637154fa5733bb30cfb10;p=thirdparty%2Fshadow.git Make man/po update-po more robust There were some inconsistencies in how remove-potcdate was named. It exists as po/remove-potcdate.sin. The man/po tried to copy that in, but it referred to it as remove-potcdate.sed. Just copy it in as remove-potcdate.sed. I think we can do better than this, but for now this should make update-po more robust. Signed-off-by: Serge Hallyn --- diff --git a/man/po/Makefile.in b/man/po/Makefile.in index bb2023c77..c89faf5f9 100644 --- a/man/po/Makefile.in +++ b/man/po/Makefile.in @@ -46,7 +46,7 @@ include $(srcdir)/Makevars .SUFFIXES: .SUFFIXES: .po .sed .sin .nop .po-create .po-update -remove-potcdate.sin: $(top_srcdir)/po/remove-potcdate.sin +remove-potcdate.sed: $(top_srcdir)/po/remove-potcdate.sin cp $? $@ .sin.sed: @@ -86,7 +86,7 @@ stamp-po: $(srcdir)/$(DOMAIN).pot # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. # TODO: set MSGID_BUGS_ADDRESS, COPYRIGHT_HOLDER -$(DOMAIN).pot-update: $(XMLFILES) $(srcdir)/XMLFILES +$(DOMAIN).pot-update: $(XMLFILES) $(srcdir)/XMLFILES remove-potcdate.sed @set -ex; tmpdir=`mktemp -d`; \ origdir=`pwd`; \ cd $(top_srcdir)/man; \ @@ -161,7 +161,7 @@ check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: mostlyclean: - rm -f remove-potcdate.sed remove-potcdate.sin + rm -f remove-potcdate.sed rm -f stamp-poT rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po