From: Bruno Haible Date: Tue, 15 Apr 2003 09:48:44 +0000 (+0000) Subject: VMS support. X-Git-Tag: v0.12~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd63f2894ee65b0174a6395989b8ba69da067c65;p=thirdparty%2Fgettext.git VMS support. --- diff --git a/gettext-runtime/po/ChangeLog b/gettext-runtime/po/ChangeLog index f9cdbf752..17aa60099 100644 --- a/gettext-runtime/po/ChangeLog +++ b/gettext-runtime/po/ChangeLog @@ -1,3 +1,9 @@ +2003-04-12 Bruno Haible + + VMS support. + * Rules-vms: New file. + * Makefile.vms.sh: New file. + 2003-03-17 Bruno Haible Native Woe32/MSVC support. diff --git a/gettext-runtime/po/Makefile.vms.sh b/gettext-runtime/po/Makefile.vms.sh new file mode 100755 index 000000000..c79c6951d --- /dev/null +++ b/gettext-runtime/po/Makefile.vms.sh @@ -0,0 +1,85 @@ +#!/bin/sh +# Creates Makefile.msvc. +domain=$1 +catalogs=$2 + +cat <<\EOF +# -*- Makefile -*- for po subdirectory on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Directories used by "make install": +prefix = SYS$DATA:[ +datadir = $(prefix).share +localedir = $(datadir).locale + +# Programs used by "make": +RM = delete + +# Programs used by "make install": +INSTALL = copy +INSTALL_PROGRAM = copy +INSTALL_DATA = copy + +#### End of system configuration section. #### + +all : + write sys$output "Nothing to be done for 'all'." + +install : all + create /directory $(prefix)] + create /directory $(datadir)] + create /directory $(localedir)] +EOF +for cat in $catalogs; do + cat=`basename $cat` + lang=`echo $cat | sed -e 's/\.gmo$//'` +cat < $(srcdir)/Makefile.vms diff --git a/gettext-tools/po/ChangeLog b/gettext-tools/po/ChangeLog index 86ff9ad20..a2e430fe4 100644 --- a/gettext-tools/po/ChangeLog +++ b/gettext-tools/po/ChangeLog @@ -1,3 +1,9 @@ +2003-04-12 Bruno Haible + + VMS support. + * Rules-vms: New file. + * Makefile.vms.sh: New file. + 2003-03-17 Bruno Haible Native Woe32/MSVC support. diff --git a/gettext-tools/po/Makefile.vms.sh b/gettext-tools/po/Makefile.vms.sh new file mode 100755 index 000000000..c79c6951d --- /dev/null +++ b/gettext-tools/po/Makefile.vms.sh @@ -0,0 +1,85 @@ +#!/bin/sh +# Creates Makefile.msvc. +domain=$1 +catalogs=$2 + +cat <<\EOF +# -*- Makefile -*- for po subdirectory on VMS using the MMS utility + +#### Start of system configuration section. #### + +# Directories used by "make install": +prefix = SYS$DATA:[ +datadir = $(prefix).share +localedir = $(datadir).locale + +# Programs used by "make": +RM = delete + +# Programs used by "make install": +INSTALL = copy +INSTALL_PROGRAM = copy +INSTALL_DATA = copy + +#### End of system configuration section. #### + +all : + write sys$output "Nothing to be done for 'all'." + +install : all + create /directory $(prefix)] + create /directory $(datadir)] + create /directory $(localedir)] +EOF +for cat in $catalogs; do + cat=`basename $cat` + lang=`echo $cat | sed -e 's/\.gmo$//'` +cat < $(srcdir)/Makefile.vms