blob: 43c2ea36b4494e11d7c02d616ab39ef82d64bdee [file] [log] [blame]
Alexandre Julliardd37eb361997-07-20 16:23:21 +00001TOPSRCDIR = @top_srcdir@
2TOPOBJDIR = ..
3SRCDIR = @srcdir@
4VPATH = @srcdir@
5MODULE = none
John R. Sheets1e8e5ba2000-08-08 01:24:00 +00006BOOKNAME = wine-doc
Alexandre Julliard641ee761997-08-04 16:34:36 +00007
Alexandre Julliardc53ceba2000-04-09 18:19:59 +00008EXTRASUBDIRS = samples status
Alexandre Julliarda11d7b11998-03-01 20:05:02 +00009
John R. Sheets1e8e5ba2000-08-08 01:24:00 +000010BOOK_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
Alexandre Julliardd37eb361997-07-20 16:23:21 +000034
John R. Sheets1e8e5ba2000-08-08 01:24:00 +000035BOOK_TARGETS = \
36 $(BOOKNAME)/index.html \
37 $(BOOKNAME).pdf \
38 $(BOOKNAME).ps
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000039
John R. Sheets1e8e5ba2000-08-08 01:24:00 +000040all: $(BOOK_TARGETS)
Alexandre Julliarda11d7b11998-03-01 20:05:02 +000041
Alexandre Julliardd37eb361997-07-20 16:23:21 +000042@MAKE_RULES@
43
John R. Sheets1e8e5ba2000-08-08 01:24:00 +000044$(BOOKNAME)/index.html: $(BOOK_SRCS)
45 db2html $(BOOKNAME).sgml
Alexandre Julliardd37eb361997-07-20 16:23:21 +000046
John R. Sheets1e8e5ba2000-08-08 01:24:00 +000047$(BOOKNAME).pdf: $(BOOK_SRCS)
48 db2pdf $(BOOKNAME).sgml
Alexandre Julliardd37eb361997-07-20 16:23:21 +000049
John R. Sheets1e8e5ba2000-08-08 01:24:00 +000050$(BOOKNAME).ps: $(BOOK_SRCS)
51 db2ps $(BOOKNAME).sgml
Alexandre Julliard641ee761997-08-04 16:34:36 +000052
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000053install::
Marcus Meissner7b6e3c01999-07-31 17:29:20 +000054 $(INSTALL) -d $(mandir)/man$(prog_manext)
55 $(INSTALL) -d $(mandir)/man$(conf_manext)
Peter Gantenf35cdc82000-04-04 18:57:19 +000056 sed -e 's|$${prefix}|$(prefix)|g' < wine.man > wine.man.tmp && mv wine.man.tmp wine.man
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000057 $(INSTALL_DATA) wine.man $(mandir)/man$(prog_manext)/wine.$(prog_manext)
Peter Gantenf35cdc82000-04-04 18:57:19 +000058 sed -e 's|$${prefix}|'$(prefix)'|g' < wine.conf.man > wine.conf.man.tmp && mv wine.conf.man.tmp wine.conf.man
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000059 $(INSTALL_DATA) wine.conf.man $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext)
Alexandre Julliard641ee761997-08-04 16:34:36 +000060
Alexandre Julliard85ed45e1998-08-22 19:03:56 +000061uninstall::
Alexandre Julliardab7fa6d1999-10-23 20:19:15 +000062 $(RM) $(mandir)/man$(prog_manext)/wine.$(prog_manext)
63 $(RM) $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext)
Alexandre Julliard85ed45e1998-08-22 19:03:56 +000064
Alexandre Julliardd37eb361997-07-20 16:23:21 +000065clean::
John R. Sheets1e8e5ba2000-08-08 01:24:00 +000066 $(RM) *.aux *.dvi *.tex *.log $(BOOKNAME).pdf $(BOOKNAME).ps
67 $(RM) -r $(BOOKNAME) html man3w *.junk DBTOHTML_OUTPUT_DIR*
Alexandre Julliardd37eb361997-07-20 16:23:21 +000068
69### Dependencies: