~ubuntu-branches/ubuntu/breezy/gettext/breezy

« back to all changes in this revision

Viewing changes to gettext-tools/po/Makefile.vms.sh

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2004-03-14 17:40:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040314174002-p1ad5ldve1hqzhye
Tags: 0.14.1-2
* Added libexpat1-dev to Build-Depends, for glade support.
* Added libc0.1-dev to Build-Depends, for GNU/kFreeBSD.
* Removed special-casing of knetbsd-gnu in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# Creates Makefile.msvc.
 
3
domain=$1
 
4
catalogs=$2
 
5
 
 
6
cat <<\EOF
 
7
# -*- Makefile -*- for po subdirectory on VMS using the MMS utility
 
8
 
 
9
#### Start of system configuration section. ####
 
10
 
 
11
# Directories used by "make install":
 
12
prefix = SYS$DATA:[
 
13
datadir = $(prefix).share
 
14
localedir = $(datadir).locale
 
15
 
 
16
# Programs used by "make":
 
17
RM = delete
 
18
 
 
19
# Programs used by "make install":
 
20
INSTALL = copy
 
21
INSTALL_PROGRAM = copy
 
22
INSTALL_DATA = copy
 
23
 
 
24
#### End of system configuration section. ####
 
25
 
 
26
all :
 
27
        write sys$output "Nothing to be done for 'all'."
 
28
 
 
29
install : all
 
30
        create /directory $(prefix)]
 
31
        create /directory $(datadir)]
 
32
        create /directory $(localedir)]
 
33
EOF
 
34
for cat in $catalogs; do
 
35
  cat=`basename $cat`
 
36
  lang=`echo $cat | sed -e 's/\.gmo$//'`
 
37
cat <<EOF
 
38
        create /directory \$(localedir).${lang}]
 
39
        create /directory \$(localedir).${lang}.LC_MESSAGES]
 
40
        \$(INSTALL_DATA) ${lang}.gmo \$(localedir).${lang}.LC_MESSAGES]${domain}.mo
 
41
EOF
 
42
done
 
43
cat <<\EOF
 
44
 
 
45
installdirs :
 
46
        create /directory $(prefix)]
 
47
        create /directory $(datadir)]
 
48
        create /directory $(localedir)]
 
49
EOF
 
50
for cat in $catalogs; do
 
51
  cat=`basename $cat`
 
52
  lang=`echo $cat | sed -e 's/\.gmo$//'`
 
53
cat <<EOF
 
54
        create /directory \$(localedir).${lang}]
 
55
        create /directory \$(localedir).${lang}.LC_MESSAGES]
 
56
EOF
 
57
done
 
58
cat <<\EOF
 
59
 
 
60
uninstall :
 
61
EOF
 
62
for cat in $catalogs; do
 
63
  cat=`basename $cat`
 
64
  lang=`echo $cat | sed -e 's/\.gmo$//'`
 
65
cat <<EOF
 
66
        \$(RM) \$(localedir).${lang}.LC_MESSAGES]${domain}.mo;
 
67
EOF
 
68
done
 
69
cat <<\EOF
 
70
 
 
71
check : all
 
72
        write sys$output "Nothing else to be done for 'check'."
 
73
 
 
74
mostlyclean : clean
 
75
        write sys$output "Nothing else to be done for 'mostlyclean'."
 
76
 
 
77
clean :
 
78
        write sys$output "Nothing to be done for 'clean'."
 
79
 
 
80
distclean : clean
 
81
        write sys$output "Nothing else to be done for 'distclean'."
 
82
 
 
83
maintainer-clean : distclean
 
84
        write sys$output "Nothing else to be done for 'maintainer-clean'."
 
85
EOF