From 55330d5547a8ec7848309fc14c6d2ddaf5f78dca Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 29 Mar 2003 16:20:30 +0000 Subject: Native Woe32/MSVC support. --- gettext-runtime/po/ChangeLog | 6 +++ gettext-runtime/po/Makefile.msvc.sh | 87 +++++++++++++++++++++++++++++++++++++ gettext-runtime/po/Rules-msvc | 14 ++++++ 3 files changed, 107 insertions(+) create mode 100755 gettext-runtime/po/Makefile.msvc.sh create mode 100644 gettext-runtime/po/Rules-msvc (limited to 'gettext-runtime/po') diff --git a/gettext-runtime/po/ChangeLog b/gettext-runtime/po/ChangeLog index d8f8375..f9cdbf7 100644 --- a/gettext-runtime/po/ChangeLog +++ b/gettext-runtime/po/ChangeLog @@ -1,3 +1,9 @@ +2003-03-17 Bruno Haible + + Native Woe32/MSVC support. + * Makefile.msvc.sh: New file. + * Rules-msvc: New file. + 2003-03-29 Bruno Haible * id.po: Update from Tedi Heriyanto . diff --git a/gettext-runtime/po/Makefile.msvc.sh b/gettext-runtime/po/Makefile.msvc.sh new file mode 100755 index 0000000..6e43ffc --- /dev/null +++ b/gettext-runtime/po/Makefile.msvc.sh @@ -0,0 +1,87 @@ +#!/bin/sh +# Creates Makefile.msvc. +domain=$1 +catalogs=$2 + +cat <<\EOF +# -*- Makefile -*- for po subdirectory + +#### Start of system configuration section. #### + +# Directories used by "make": +srcdir = . + +# Directories used by "make install": +prefix = c:\usr +datadir = $(prefix)\share +localedir = $(datadir)\locale + +# Programs used by "make": +RM = -del + +# Programs used by "make install": +INSTALL = copy +INSTALL_PROGRAM = copy +INSTALL_DATA = copy + +#### End of system configuration section. #### + +SHELL = /bin/sh + +all : + +install : all force + -mkdir $(prefix) + -mkdir $(datadir) + -mkdir $(localedir) +EOF +for cat in $catalogs; do + cat=`basename $cat` + lang=`echo $cat | sed -e 's/\.gmo$//'` +cat < $(srcdir)/Makefile.msvc -- cgit v1.1