3 Commits

Author SHA1 Message Date
Bruno Haible
9740ab9ef6 build: Fix build failure in VPATH builds outside of the source tree.
* build-aux/jar-cf: Unset CDPATH. Run 'git log' from $top_srcdir, not from the
current directory.
2026-01-07 22:00:50 +01:00
Bruno Haible
929fecabec build: Avoid "warning: stray \ before -" from GNU grep ≥ 3.8.
* build-aux/jar-cf: Remove an unnecessary backslash.
2024-10-09 23:40:29 +02:00
Bruno Haible
06bb3d6f86 java: Create reproducible .jar files if the 'jar' utility supports it.
Suggested by Bernhard M. Wiedemann <bwiedemann@suse.de> in
<https://lists.gnu.org/archive/html/bug-gettext/2024-07/msg00020.html>.

* build-aux/jar-cf: New file.
* Makefile.am (EXTRA_DIST): Add it.
* gettext-runtime/intl-java/Makefile.am (libintl.jar): Use jar-cf.
* gettext-tools/src/Makefile.am (gettext.jar): Likewise.
2024-07-16 23:59:05 +02:00