1 # -*- Makefile -*- for gettext-runtime/man
3 #### Start of system configuration section. ####
5 # Flags that can be set on the nmake command line:
6 # PREFIX=Some\Directory Base directory for installation
11 # Directories used by "make install":
13 datadir = $(prefix)\share
14 mandir = $(datadir)\man
15 man1dir = $(mandir)\man1
16 man3dir = $(mandir)\man3
17 docdir = $(datadir)\doc\gettext
22 # Programs used by "make install":
24 INSTALL_PROGRAM = copy
27 #### End of system configuration section. ####
38 $(INSTALL_DATA) gettext.1.in $(man1dir)\gettext.1
39 $(INSTALL_DATA) ngettext.1.in $(man1dir)\ngettext.1
40 $(INSTALL_DATA) envsubst.1 $(man1dir)\envsubst.1
42 $(INSTALL_DATA) gettext.3 $(man3dir)\gettext.3
43 $(INSTALL_DATA) ngettext.3 $(man3dir)\ngettext.3
44 $(INSTALL_DATA) textdomain.3 $(man3dir)\textdomain.3
45 $(INSTALL_DATA) bindtextdomain.3 $(man3dir)\bindtextdomain.3
46 $(INSTALL_DATA) bind_textdomain_codeset.3 $(man3dir)\bind_textdomain_codeset.3
47 $(INSTALL_DATA) dgettext.3 $(man3dir)\dgettext.3
48 $(INSTALL_DATA) dcgettext.3 $(man3dir)\dcgettext.3
49 $(INSTALL_DATA) dngettext.3 $(man3dir)\dngettext.3
50 $(INSTALL_DATA) dcngettext.3 $(man3dir)\dcngettext.3
53 $(INSTALL_DATA) gettext.1.html.in $(docdir)\gettext.1.html
54 $(INSTALL_DATA) ngettext.1.html.in $(docdir)\ngettext.1.html
55 $(INSTALL_DATA) envsubst.1.html $(docdir)\envsubst.1.html
56 $(INSTALL_DATA) gettext.3.html $(docdir)\gettext.3.html
57 $(INSTALL_DATA) ngettext.3.html $(docdir)\ngettext.3.html
58 $(INSTALL_DATA) textdomain.3.html $(docdir)\textdomain.3.html
59 $(INSTALL_DATA) bindtextdomain.3.html $(docdir)\bindtextdomain.3.html
60 $(INSTALL_DATA) bind_textdomain_codeset.3.html $(docdir)\bind_textdomain_codeset.3.html
72 $(RM) $(man1dir)\gettext.1
73 $(RM) $(man1dir)\ngettext.1
74 $(RM) $(man1dir)\envsubst.1
75 $(RM) $(man3dir)\gettext.3
76 $(RM) $(man3dir)\ngettext.3
77 $(RM) $(man3dir)\textdomain.3
78 $(RM) $(man3dir)\bindtextdomain.3
79 $(RM) $(man3dir)\bind_textdomain_codeset.3
80 $(RM) $(man3dir)\dgettext.3
81 $(RM) $(man3dir)\dcgettext.3
82 $(RM) $(man3dir)\dngettext.3
83 $(RM) $(man3dir)\dcngettext.3
84 $(RM) $(docdir)\gettext.1.html
85 $(RM) $(docdir)\ngettext.1.html
86 $(RM) $(docdir)\envsubst.1.html
87 $(RM) $(docdir)\gettext.3.html
88 $(RM) $(docdir)\ngettext.3.html
89 $(RM) $(docdir)\textdomain.3.html
90 $(RM) $(docdir)\bindtextdomain.3.html
91 $(RM) $(docdir)\bind_textdomain_codeset.3.html
103 maintainer-clean : distclean