]> git.ipfire.org Git - thirdparty/gettext.git/commit
po: Assume a 'sed' that supports '#' for introducing comments.
authorBruno Haible <bruno@clisp.org>
Sun, 13 Oct 2024 20:37:39 +0000 (22:37 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 13 Oct 2024 22:53:56 +0000 (00:53 +0200)
commit9a4589466bb18cb018ea6588e6836f034ee37a44
treecd8918094be2b050ab2ae8a95c1d0ec8a82e1221
parentfe3b543701e51c9cfd66b96c0e9100b1a9f36e1a
po: Assume a 'sed' that supports '#' for introducing comments.

This is standardized in POSIX since POSIX:2001 (= SUSv3).
It is supported on all platforms that I could test:
GNU, macOS 10.5, FreeBSD 5, NetBSD 7, OpenBSD 6, AIX 7, Solaris 10 and 11,
busybox (2019).

* gettext-runtime/po/remove-potcdate.sed: Renamed from
gettext-runtime/po/remove-potcdate.sin.
* gettext-runtime/po/Makefile.in.in (DISTFILES.common): Update.
(.SUFFIXES): Remove .sin.
(.sin.sed): Remove rule.
($(DOMAIN).pot-update): Use remove-potcdate.sed in $(srcdir).
(mostlyclean): Don't remove remove-potcdate.sed.
* autogen.sh: Update.
* Makefile.am (distcheck-hook): Update.
* gettext-tools/examples/po/remove-potcdate.sed: Renamed from
gettext-tools/examples/po/remove-potcdate.sin.
* gettext-tools/examples/po/Makefile.am ($(DOMAIN).pot-update): Use
remove-potcdate.sed in $(srcdir).
(MOSTLYCLEANFILES): Don't add remove-potcdate.sed.
(EXTRA_DIST): Update.
* gettext-tools/examples/hello-*/po/Makefile.am ($(DOMAIN).pot-update): Use
remove-potcdate.sed in $(srcdir).
(MOSTLYCLEANFILES): Don't add remove-potcdate.sed.
(EXTRA_DIST): Update.
* gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile
($(DOMAIN).pot-update): Remove dependency on remove-potcdate.sed.
(internal-clean): Remove rule.
* gettext-tools/examples/hello-*/autogen.sh: Update.
* gettext-tools/examples/hello-*/autoclean.sh: Update.
82 files changed:
.gitignore
Makefile.am
autogen.sh
gettext-runtime/po/Makefile.in.in
gettext-runtime/po/remove-potcdate.sed [moved from gettext-runtime/po/remove-potcdate.sin with 100% similarity]
gettext-tools/examples/hello-c++-gnome/autoclean.sh
gettext-tools/examples/hello-c++-kde/autoclean.sh
gettext-tools/examples/hello-c++-qt/autoclean.sh
gettext-tools/examples/hello-c++-qt/autogen.sh
gettext-tools/examples/hello-c++-qt/po/Makefile.am
gettext-tools/examples/hello-c++-wxwidgets/autoclean.sh
gettext-tools/examples/hello-c++-wxwidgets/autogen.sh
gettext-tools/examples/hello-c++-wxwidgets/po/Makefile.am
gettext-tools/examples/hello-c++/autoclean.sh
gettext-tools/examples/hello-c++20/autoclean.sh
gettext-tools/examples/hello-c-gnome/autoclean.sh
gettext-tools/examples/hello-c-gnome3/autoclean.sh
gettext-tools/examples/hello-c/autoclean.sh
gettext-tools/examples/hello-clisp/autoclean.sh
gettext-tools/examples/hello-clisp/autogen.sh
gettext-tools/examples/hello-clisp/po/Makefile.am
gettext-tools/examples/hello-csharp-forms/autoclean.sh
gettext-tools/examples/hello-csharp-forms/autogen.sh
gettext-tools/examples/hello-csharp-forms/po/Makefile.am
gettext-tools/examples/hello-csharp/autoclean.sh
gettext-tools/examples/hello-csharp/autogen.sh
gettext-tools/examples/hello-csharp/po/Makefile.am
gettext-tools/examples/hello-gawk/autoclean.sh
gettext-tools/examples/hello-gawk/autogen.sh
gettext-tools/examples/hello-gawk/po/Makefile.am
gettext-tools/examples/hello-guile/autoclean.sh
gettext-tools/examples/hello-guile/autogen.sh
gettext-tools/examples/hello-guile/po/Makefile.am
gettext-tools/examples/hello-java-awt/autoclean.sh
gettext-tools/examples/hello-java-awt/autogen.sh
gettext-tools/examples/hello-java-awt/po/Makefile.am
gettext-tools/examples/hello-java-qtjambi/autoclean.sh
gettext-tools/examples/hello-java-qtjambi/autogen.sh
gettext-tools/examples/hello-java-qtjambi/po/Makefile.am
gettext-tools/examples/hello-java-swing/autoclean.sh
gettext-tools/examples/hello-java-swing/autogen.sh
gettext-tools/examples/hello-java-swing/po/Makefile.am
gettext-tools/examples/hello-java/autoclean.sh
gettext-tools/examples/hello-java/autogen.sh
gettext-tools/examples/hello-java/po/Makefile.am
gettext-tools/examples/hello-librep/autoclean.sh
gettext-tools/examples/hello-librep/autogen.sh
gettext-tools/examples/hello-librep/po/Makefile.am
gettext-tools/examples/hello-objc-gnome/autoclean.sh
gettext-tools/examples/hello-objc-gnustep/autoclean.sh
gettext-tools/examples/hello-objc-gnustep/autogen.sh
gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile
gettext-tools/examples/hello-objc/autoclean.sh
gettext-tools/examples/hello-pascal/autoclean.sh
gettext-tools/examples/hello-pascal/autogen.sh
gettext-tools/examples/hello-pascal/po/Makefile.am
gettext-tools/examples/hello-perl/autoclean.sh
gettext-tools/examples/hello-perl/autogen.sh
gettext-tools/examples/hello-perl/po/Makefile.am
gettext-tools/examples/hello-php/autoclean.sh
gettext-tools/examples/hello-php/autogen.sh
gettext-tools/examples/hello-php/po/Makefile.am
gettext-tools/examples/hello-python/autoclean.sh
gettext-tools/examples/hello-python/autogen.sh
gettext-tools/examples/hello-python/po/Makefile.am
gettext-tools/examples/hello-sh/autoclean.sh
gettext-tools/examples/hello-sh/autogen.sh
gettext-tools/examples/hello-sh/po/Makefile.am
gettext-tools/examples/hello-smalltalk/autoclean.sh
gettext-tools/examples/hello-smalltalk/autogen.sh
gettext-tools/examples/hello-smalltalk/po/Makefile.am
gettext-tools/examples/hello-tcl-tk/autoclean.sh
gettext-tools/examples/hello-tcl-tk/autogen.sh
gettext-tools/examples/hello-tcl-tk/po/Makefile.am
gettext-tools/examples/hello-tcl/autoclean.sh
gettext-tools/examples/hello-tcl/autogen.sh
gettext-tools/examples/hello-tcl/po/Makefile.am
gettext-tools/examples/hello-ycp/autoclean.sh
gettext-tools/examples/hello-ycp/autogen.sh
gettext-tools/examples/hello-ycp/po/Makefile.am
gettext-tools/examples/po/Makefile.am
gettext-tools/examples/po/remove-potcdate.sed [moved from gettext-tools/examples/po/remove-potcdate.sin with 100% similarity]