1# -*- Makefile -*- for libiconv/man on VMS using the MMS utility
2
3#### Start of system configuration section. ####
4
5# Directories used by "make install":
6prefix = SYS$DATA:[
7datadir = $(prefix).share
8mandir = $(datadir).man
9man1dir = $(mandir).man1
10man3dir = $(mandir).man3
11docdir = $(datadir).doc.libiconv
12
13# Programs used by "make":
14RM = delete
15
16# Programs used by "make install":
17INSTALL = copy
18INSTALL_PROGRAM = copy
19INSTALL_DATA = copy
20
21#### End of system configuration section. ####
22
23all :
24	write sys$output "Nothing to be done for 'all'."
25
26install : all
27	create /directory $(prefix)]
28	create /directory $(datadir)]
29	create /directory $(mandir)]
30	create /directory $(man1dir)]
31	$(INSTALL_DATA) iconv.1 $(man1dir)]iconv.1
32	create /directory $(man3dir)]
33	$(INSTALL_DATA) iconv_open.3 $(man3dir)]iconv_open.3
34	$(INSTALL_DATA) iconv.3 $(man3dir)]iconv.3
35	$(INSTALL_DATA) iconv_close.3 $(man3dir)]iconv_close.3
36	create /directory $(datadir).doc]
37	create /directory $(docdir)]
38	$(INSTALL_DATA) iconv.1.html $(docdir)]iconv.1.html
39	$(INSTALL_DATA) iconv_open.3.html $(docdir)]iconv_open.3.html
40	$(INSTALL_DATA) iconv.3.html $(docdir)]iconv.3.html
41	$(INSTALL_DATA) iconv_close.3.html $(docdir)]iconv_close.3.html
42
43installdirs :
44	create /directory $(prefix)]
45	create /directory $(datadir)]
46	create /directory $(mandir)]
47	create /directory $(man1dir)]
48	create /directory $(man3dir)]
49	create /directory $(datadir).doc]
50	create /directory $(docdir)]
51
52uninstall :
53	$(RM) $(man1dir)]iconv.1
54	$(RM) $(man3dir)]iconv_open.3
55	$(RM) $(man3dir)]iconv.3
56	$(RM) $(man3dir)]iconv_close.3
57	$(RM) $(docdir)]iconv.1.html
58	$(RM) $(docdir)]iconv_open.3.html
59	$(RM) $(docdir)]iconv.3.html
60	$(RM) $(docdir)]iconv_close.3.html
61
62check : all
63	write sys$output "Nothing else to be done for 'check'."
64
65mostlyclean : clean
66	write sys$output "Nothing else to be done for 'mostlyclean'."
67
68clean :
69	write sys$output "Nothing to be done for 'clean'."
70
71distclean : clean
72	write sys$output "Nothing else to be done for 'distclean'."
73
74maintainer-clean : distclean
75	write sys$output "Nothing else to be done for 'maintainer-clean'."
76