Release 980614
[wine] / documentation / Makefile.in
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR    = @srcdir@
4 VPATH     = @srcdir@
5 MODULE    = none
6
7 INCLUDES = \
8         AUTHORS \
9         LICENSE \
10         WARRANTY
11
12 SOURCES = \
13         wine.texinfo \
14         $(INCLUDES)
15
16 INFOFILES = \
17         wine.info \
18         wine.info-1 \
19         wine.info-2
20
21 HTMLFILES = \
22         wine_toc.html \
23         wine.html
24
25 DVIFILES = wine.dvi
26
27
28 all: $(INFOFILES) $(DVIFILES) $(HTMLFILES)
29
30 info: $(INFOFILES)
31
32 dvi: $(DVIFILES)
33
34 html: $(HTMLFILES)
35
36 @MAKE_RULES@
37
38 $(INFOFILES): $(SOURCES)
39         makeinfo $(SRCDIR)/wine.texinfo
40
41 $(DVIFILES): $(SOURCES)
42         texi2dvi $(SRCDIR)/wine.texinfo
43
44 $(HTMLFILES): $(SOURCES)
45         makeinfo -E wine.texi $(SRCDIR)/wine.texinfo
46         texi2html wine.texi 
47
48 $(INCLUDES):
49         $(RM) $(INCLUDES)
50         for i in $(INCLUDES); do $(LN_S) $(TOPSRCDIR)/$$i $$i || exit 1; done
51
52 install:: 
53         $(INSTALL_DATA) $(SRCDIR)/wine.man $(mandir)/wine$(manext)
54
55 # Not done by default because of makeinfo bugs
56 install_info: $(INFOFILES)
57         for i in $(INFOFILES); do $(INSTALL_DATA) $$i $(infodir)/$$i; done
58
59 clean::
60         $(RM) $(INFOFILES) $(DVIFILES) $(INCLUDES)
61         $(RM) wine.aux wine.cp wine.cps wine.fn wine.fns wine.ky wine.log \
62                 wine.pg wine.toc wine.tp wine.tps wine.vr wine.vrs \
63                 wine.texi
64         $(RM) -r man3w
65
66 ### Dependencies: