Append .DRV to name only if no extension present.
[wine/hacks.git] / documentation / Makefile.in
blob43c2ea36b4494e11d7c02d616ab39ef82d64bdee
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 MODULE = none
6 BOOKNAME = wine-doc
8 EXTRASUBDIRS = samples status
10 BOOK_SRCS = \
11 architecture.sgml \
12 bugs.sgml \
13 build.sgml \
14 compiling.sgml \
15 configuring.sgml \
16 consoles.sgml \
17 debugger.sgml \
18 debugging.sgml \
19 dlls.sgml \
20 documentation.sgml \
21 fonts.sgml \
22 i18n.sgml \
23 implementation.sgml \
24 installing.sgml \
25 opengl.sgml \
26 packaging.sgml \
27 patches.sgml \
28 porting.sgml \
29 printing.sgml \
30 registry.sgml \
31 running.sgml \
32 tools.sgml \
33 wine-doc.sgml
35 BOOK_TARGETS = \
36 $(BOOKNAME)/index.html \
37 $(BOOKNAME).pdf \
38 $(BOOKNAME).ps
40 all: $(BOOK_TARGETS)
42 @MAKE_RULES@
44 $(BOOKNAME)/index.html: $(BOOK_SRCS)
45 db2html $(BOOKNAME).sgml
47 $(BOOKNAME).pdf: $(BOOK_SRCS)
48 db2pdf $(BOOKNAME).sgml
50 $(BOOKNAME).ps: $(BOOK_SRCS)
51 db2ps $(BOOKNAME).sgml
53 install::
54 $(INSTALL) -d $(mandir)/man$(prog_manext)
55 $(INSTALL) -d $(mandir)/man$(conf_manext)
56 sed -e 's|$${prefix}|$(prefix)|g' < wine.man > wine.man.tmp && mv wine.man.tmp wine.man
57 $(INSTALL_DATA) wine.man $(mandir)/man$(prog_manext)/wine.$(prog_manext)
58 sed -e 's|$${prefix}|'$(prefix)'|g' < wine.conf.man > wine.conf.man.tmp && mv wine.conf.man.tmp wine.conf.man
59 $(INSTALL_DATA) wine.conf.man $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext)
61 uninstall::
62 $(RM) $(mandir)/man$(prog_manext)/wine.$(prog_manext)
63 $(RM) $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext)
65 clean::
66 $(RM) *.aux *.dvi *.tex *.log $(BOOKNAME).pdf $(BOOKNAME).ps
67 $(RM) -r $(BOOKNAME) html man3w *.junk DBTOHTML_OUTPUT_DIR*
69 ### Dependencies: