Fix the Wine tools search path.
[wine.git] / documentation / Makefile.in
blob9d013311cd3165375b490f0fe79b3e82ea724960
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 MODULE = none
6 BOOKNAME = wine-doc
7 DB2HTML = db2html
9 EXTRASUBDIRS = samples status
11 BOOK_SRCS = \
12 architecture.sgml \
13 bugs.sgml \
14 build.sgml \
15 compiling.sgml \
16 configuring.sgml \
17 consoles.sgml \
18 cvs-regression.sgml \
19 debugger.sgml \
20 debugging.sgml \
21 dlls.sgml \
22 documentation.sgml \
23 fonts.sgml \
24 getting.sgml \
25 i18n.sgml \
26 implementation.sgml \
27 installing.sgml \
28 introduction.sgml \
29 ole.sgml \
30 opengl.sgml \
31 packaging.sgml \
32 patches.sgml \
33 porting.sgml \
34 printing.sgml \
35 registry.sgml \
36 running.sgml \
37 tools.sgml \
38 wine-doc.sgml \
39 winelib-bindlls.sgml \
40 winelib-intro.sgml \
41 winelib-mfc.sgml \
42 winelib-pkg.sgml \
43 winelib-porting.sgml \
44 winelib-toolkit.sgml \
45 winelib-user.sgml
47 BOOK_TARGETS = \
48 $(BOOKNAME)/index.html \
49 $(BOOKNAME).pdf \
50 $(BOOKNAME).ps
52 all: $(BOOK_TARGETS)
54 @MAKE_RULES@
56 $(BOOKNAME)/index.html: $(BOOK_SRCS)
57 $(DB2HTML) $(BOOKNAME).sgml
59 $(BOOKNAME).pdf: $(BOOK_SRCS)
60 db2pdf -d ./print.dsl $(BOOKNAME).sgml > /dev/null
62 $(BOOKNAME).ps: $(BOOK_SRCS)
63 db2ps $(BOOKNAME).sgml > /dev/null
65 install::
66 $(INSTALL) -d $(mandir)/man$(prog_manext)
67 $(INSTALL) -d $(mandir)/man$(conf_manext)
68 sed -e 's|$${prefix}|$(prefix)|g' < wine.man > wine.man.tmp && mv wine.man.tmp wine.man
69 $(INSTALL_DATA) wine.man $(mandir)/man$(prog_manext)/wine.$(prog_manext)
70 $(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
71 sed -e 's|$${prefix}|$(prefix)|g' < wine.conf.man > wine.conf.man.tmp && mv wine.conf.man.tmp wine.conf.man
72 $(INSTALL_DATA) wine.conf.man $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext)
74 uninstall::
75 $(RM) $(mandir)/man$(prog_manext)/wine.$(prog_manext)
76 $(RM) $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
77 $(RM) $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext)
79 clean::
80 $(RM) *.aux *.dvi *.out *.pdf *.ps *.tex *.log $(BOOKNAME).pdf $(BOOKNAME).ps
81 $(RM) -r $(BOOKNAME) html man3w *.junk DBTOHTML_OUTPUT_DIR*
83 ### Dependencies: