No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gettext / gettext-runtime / po / Makefile.vms.sh
blobc79c6951d3048f1a333a662409263ae5c9dd1df8
1 #!/bin/sh
2 # Creates Makefile.msvc.
3 domain=$1
4 catalogs=$2
6 cat <<\EOF
7 # -*- Makefile -*- for po subdirectory on VMS using the MMS utility
9 #### Start of system configuration section. ####
11 # Directories used by "make install":
12 prefix = SYS$DATA:[
13 datadir = $(prefix).share
14 localedir = $(datadir).locale
16 # Programs used by "make":
17 RM = delete
19 # Programs used by "make install":
20 INSTALL = copy
21 INSTALL_PROGRAM = copy
22 INSTALL_DATA = copy
24 #### End of system configuration section. ####
26 all :
27 write sys$output "Nothing to be done for 'all'."
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
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
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
71 check : all
72 write sys$output "Nothing else to be done for 'check'."
74 mostlyclean : clean
75 write sys$output "Nothing else to be done for 'mostlyclean'."
77 clean :
78 write sys$output "Nothing to be done for 'clean'."
80 distclean : clean
81 write sys$output "Nothing else to be done for 'distclean'."
83 maintainer-clean : distclean
84 write sys$output "Nothing else to be done for 'maintainer-clean'."
85 EOF