]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Don't use $< in target rules - this is not portable.
authorBruno Haible <bruno@clisp.org>
Wed, 21 May 2003 10:53:09 +0000 (10:53 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:36 +0000 (12:10 +0200)
gettext-runtime/ChangeLog
gettext-runtime/Makefile.am
gettext-runtime/libasprintf/ChangeLog
gettext-runtime/libasprintf/Makefile.am
gettext-tools/ChangeLog
gettext-tools/Makefile.am

index ebf77ed55218822ccd80556d596f3d5bb70b598a..30be9dc1a544f99a9f2f19c1e8905c785901d0e1 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-20  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am (config.h_vms, config.h.msvc,
+       intl/libgnuintl.h.msvc-shared): Don't use $< here.
+
 2003-05-19  Bruno Haible  <bruno@clisp.org>
 
        * windows/intl.rc: Include <winver.h>.
index 765622d2951e0c8415e1a8972a0c23d67ed6c345..536d1625cee4ccc62d42f822e8024d34f458643d 100644 (file)
@@ -101,7 +101,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-runtime"/' \
             -e 's/#undef VERSION$$/#define VERSION "$(VERSION)"/' \
-          < $<; echo; echo '#define alloca __ALLOCA') > $@
+          < $(srcdir)/config.h.in; echo; echo '#define alloca __ALLOCA') > $@
 # 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.
 
@@ -141,10 +141,10 @@ config.h.msvc: config.h.in ../version.sh
            -e 's/#undef PACKAGE$$/#define PACKAGE "gettext-runtime"/' \
            -e 's/#undef VERSION$$/#define VERSION "$(VERSION)"/' \
            -e '/#undef INSTALLPREFIX$$/d' \
-         < $< > $@
+         < $(srcdir)/config.h.in > $@
 
 intl/libgnuintl.h.msvc-shared: intl/libgnuintl.h.in windows/dllexport.h
-       sed -e 's/extern \([^"]\)/extern LIBINTL_DLL_EXPORTED \1/' -e '/#define _LIBINTL_H/r windows/dllexport.h' < $< > $@
+       sed -e 's/extern \([^"]\)/extern LIBINTL_DLL_EXPORTED \1/' -e '/#define _LIBINTL_H/r windows/dllexport.h' < $(srcdir)/intl/libgnuintl.h.in > $@
 
 all-local: intl/libgnuintl.h.msvc-shared
 
index 19d33476c207bb69271f7089ba986ec11ee7522d..a750bcd61f420d6aee574b900ad6abf298b9bcdc 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-20  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am (config.h_vms, config.h.msvc, autosprintf.h.msvc-shared):
+       Don't use $< here.
+
 2003-05-19  Bruno Haible  <bruno@clisp.org>
 
        * windows/asprintf.rc: Include <winver.h>.
index f8d9119b437fe6489090d054eaa1228820245c0f..f2cf86bfc045449cd9acffe33c788dab6b6126ca 100644 (file)
@@ -199,7 +199,7 @@ config.h_vms: config.h.in
             -e 's/#undef HAVE_WCHAR_T$$/#define HAVE_WCHAR_T 1/' \
             -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \
             -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \
-          < $<; echo; echo '#define alloca __ALLOCA') > $@
+          < $(srcdir)/config.h.in; echo; echo '#define alloca __ALLOCA') > $@
 
 EXTRA_DIST += Makefile.vms config.h_vms
 
@@ -215,12 +215,12 @@ config.h.msvc: config.h.in
             -e 's/#undef HAVE_STRING_H$$/#define HAVE_STRING_H 1/' \
             -e 's/#undef HAVE_WCHAR_T$$/#define HAVE_WCHAR_T 1/' \
             -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \
-          < $<; echo; echo '#define snprintf _snprintf') > $@
+          < $(srcdir)/config.h.in; echo; echo '#define snprintf _snprintf') > $@
 
 autosprintf.h.msvc-shared: autosprintf.h.in windows/dllexport.h
        sed -e 's/extern \([^"]\)/extern LIBASPRINTF_DLL_EXPORTED \1/' \
            -e 's/class /class LIBASPRINTF_DLL_EXPORTED /' \
            -e 's/struct /struct LIBASPRINTF_DLL_EXPORTED /' \
-           -e '/#define _AUTOSPRINTF_H/r windows/dllexport.h' < $< > $@
+           -e '/#define _AUTOSPRINTF_H/r windows/dllexport.h' < $(srcdir)/autosprintf.h.in > $@
 
 EXTRA_DIST += README.woe32 Makefile.msvc config.h.msvc autosprintf.h.msvc-shared windows/dllexport.h windows/asprintf.rc
index 8d405b462c9275ada00395d0bf31c831f69b3d5b..dc7f8d1eeabd983621a812bd082e785eaa4dd2e4 100644 (file)
@@ -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>.
index 791292fee50764be849e60ce026815f80ff1a6ed..aeb892ae18039ff7c92b6b5ef790dd67f375732d 100644 (file)
@@ -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