Release 981025.
[wine/gsoc-2012-control.git] / documentation / Makefile.in
blob5e1e589160309a2eeda7912356f0f6655eea1f4f
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 MODULE = none
7 INCLUDES = \
8 AUTHORS \
9 LICENSE \
10 WARRANTY
12 SOURCES = \
13 wine.texinfo \
14 $(INCLUDES)
16 INFOFILES = \
17 wine.info \
18 wine.info-1 \
19 wine.info-2
21 HTMLFILES = \
22 wine_toc.html \
23 wine.html
25 DVIFILES = wine.dvi
28 all: $(INFOFILES) $(DVIFILES) $(HTMLFILES)
30 info: $(INFOFILES)
32 dvi: $(DVIFILES)
34 html: $(HTMLFILES)
36 @MAKE_RULES@
38 $(INFOFILES): $(SOURCES)
39 makeinfo $(SRCDIR)/wine.texinfo
41 $(DVIFILES): $(SOURCES)
42 texi2dvi $(SRCDIR)/wine.texinfo
44 $(HTMLFILES): $(SOURCES)
45 makeinfo -E wine.texi $(SRCDIR)/wine.texinfo
46 texi2html wine.texi
48 $(INCLUDES):
49 $(RM) $(INCLUDES)
50 for i in $(INCLUDES); do $(LN_S) $(TOPSRCDIR)/$$i $$i || exit 1; done
52 install::
53 [ -d $(mandir) ] || mkdir -p $(mandir)
54 $(INSTALL_DATA) $(SRCDIR)/wine.man $(mandir)/wine$(manext)
56 uninstall::
57 $(RM) $(mandir)/wine$(manext)
59 # Not done by default because of makeinfo bugs
60 install_info: $(INFOFILES)
61 [ -d $(infodir) ] || mkdir -p $(infodir)
62 for i in $(INFOFILES); do $(INSTALL_DATA) $$i $(infodir)/$$i; done
64 uninstall_info:
65 for i in $(INFOFILES); do $(RM) $(infodir)/$$i; done
67 clean::
68 $(RM) $(INFOFILES) $(DVIFILES) $(INCLUDES)
69 $(RM) wine.aux wine.cp wine.cps wine.fn wine.fns wine.ky wine.log \
70 wine.pg wine.toc wine.tp wine.tps wine.vr wine.vrs \
71 wine.texi
72 $(RM) -r man3w
74 ### Dependencies: