summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-05-21 10:53:09 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:10:36 +0200
commit7f0f5525c898fea62ae4a47769097ab93f316aca (patch)
treef8ffc21627cf24b1824860d220ac1b71d7dff030 /gettext-tools
parent7af7b2ddc11d9f0170b82be002a83bc5eed49456 (diff)
downloadexternal_gettext-7f0f5525c898fea62ae4a47769097ab93f316aca.zip
external_gettext-7f0f5525c898fea62ae4a47769097ab93f316aca.tar.gz
external_gettext-7f0f5525c898fea62ae4a47769097ab93f316aca.tar.bz2
Don't use $< in target rules - this is not portable.
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/ChangeLog5
-rw-r--r--gettext-tools/Makefile.am6
2 files changed, 8 insertions, 3 deletions
diff --git a/gettext-tools/ChangeLog b/gettext-tools/ChangeLog
index 8d405b4..dc7f8d1 100644
--- a/gettext-tools/ChangeLog
+++ b/gettext-tools/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-20 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (config.h_vms, config.h.msvc, windows/stdbool.h):
+ Don't use $< here.
+
2003-05-19 Bruno Haible <bruno@clisp.org>
* windows/gettextlib.rc: Include <winver.h>.
diff --git a/gettext-tools/Makefile.am b/gettext-tools/Makefile.am
index 791292f..aeb892a 100644
--- a/gettext-tools/Makefile.am
+++ b/gettext-tools/Makefile.am
@@ -137,7 +137,7 @@ config.h_vms: config.h.in ../version.sh
-e 's/#undef uintmax_t$$/#define uintmax_t unsigned long long/' \
-e 's/#undef PACKAGE$$/#define PACKAGE "gettext-tools"/' \
-e 's/#undef VERSION$$/#define VERSION "$(VERSION)"/' \
- < $<; echo; echo '#define alloca __ALLOCA'; echo '#define pw_gecos pw_name') > $@
+ < $(srcdir)/config.h.in; echo; echo '#define alloca __ALLOCA'; echo '#define pw_gecos pw_name') > $@
# vms_jackets.h is a header that comes with Compaq's "porting library".
# KEEP_CRTL_SETLOCALE tells it to not override the native locale support.
@@ -200,10 +200,10 @@ config.h.msvc: config.h.in ../version.sh
-e 's/#undef PACKAGE$$/#define PACKAGE "gettext-tools"/' \
-e 's/#undef VERSION$$/#define VERSION "$(VERSION)"/' \
-e '/#undef INSTALLPREFIX$$/d' \
- < $< > $@
+ < $(srcdir)/config.h.in > $@
windows/stdbool.h: lib/stdbool.h.in
- sed -e 's/@''HAVE__BOOL''@/0/' < $< > $@
+ sed -e 's/@''HAVE__BOOL''@/0/' < $(srcdir)/windows/stdbool.h > $@
all-local : windows/stdbool.h