1 --- gettext-0.17/gettext-runtime/intl/Makefile.in 2007-11-04 21:21:12.000000000 +0000
2 +++ gettext/gettext-runtime/intl/Makefile.in 2008-03-07 18:14:53.000000000 +0000
4 # so that they work with the sed-3.02 that is shipped with MSYS. We can use
5 # GNU bash's $'\n' syntax to obtain such a newline.
6 libintl.res: $(srcdir)/libintl.rc
8 - sed_extract_major='/^[0-9]/{'$${nl}'s/^\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \
9 - sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{'$${nl}'s/^[0-9]*[.]\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \
10 - sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{'$${nl}'s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \
12 - "-DPACKAGE_VERSION_STRING=\\\"$(VERSION)\\\"" \
13 - "-DPACKAGE_VERSION_MAJOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_major"` \
14 - "-DPACKAGE_VERSION_MINOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_minor"` \
15 - "-DPACKAGE_VERSION_SUBMINOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_subminor"` \
16 + $(WINDRES) `$(top_srcdir)/../windows/windres-options --escape $(VERSION)`\
17 -i $(srcdir)/libintl.rc -o libintl.res --output-format=coff
19 ref-add.sed: $(srcdir)/ref-add.sin