]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Use $(PATH_SEPARATOR) as a path separator
authorKO Myung-Hun <komh78@gmail.com>
Wed, 18 Oct 2023 14:32:44 +0000 (23:32 +0900)
committerBruno Haible <bruno@clisp.org>
Fri, 20 Oct 2023 12:26:13 +0000 (14:26 +0200)
':' is not a path separator on Windows and OS/2.

PATH_SEPARATOR is defined and AC_SUBSTed by Autoconf.

* gettext-tools/examples/po/Makefile.am (USE_BUILT_PROGS): Use
$(PATH_SEPARATOR) instead of ':'.

Copyright-paperwork-exempt: Yes

gettext-tools/examples/po/Makefile.am

index 825e6ce95517ef02cb25e2bb9081da6ece942cdc..42ba8c4c2b487d111b53d643e40d6102f2460989 100644 (file)
@@ -237,7 +237,7 @@ $(DOMAIN).pot-update: $(POTFILES_DEPS) $(SMALLPOTS) remove-potcdate.sed
 # The environment variable 'gettext_datadir' is used by autopoint.
 # The environment variable 'GETTEXTDATADIR' is used by xgettext.
 USE_BUILT_PROGS = \
-  PATH="`pwd`/../../src:`pwd`/../../misc:$$PATH"; \
+  PATH="`pwd`/../../src$(PATH_SEPARATOR)`pwd`/../../misc$(PATH_SEPARATOR)$$PATH"; \
   gettext_datadir="`pwd`/../../misc"; export gettext_datadir; \
   GETTEXTDATADIR="`cd '$(srcdir)/../..' && pwd`"; export GETTEXTDATADIR;