Alexandre Julliard | d37eb36 | 1997-07-20 16:23:21 +0000 | [diff] [blame] | 1 | TOPSRCDIR = @top_srcdir@ |
| 2 | TOPOBJDIR = .. |
| 3 | SRCDIR = @srcdir@ |
| 4 | VPATH = @srcdir@ |
| 5 | MODULE = none |
John R. Sheets | 1e8e5ba | 2000-08-08 01:24:00 +0000 | [diff] [blame] | 6 | BOOKNAME = wine-doc |
Alexandre Julliard | 641ee76 | 1997-08-04 16:34:36 +0000 | [diff] [blame] | 7 | |
Alexandre Julliard | c53ceba | 2000-04-09 18:19:59 +0000 | [diff] [blame] | 8 | EXTRASUBDIRS = samples status |
Alexandre Julliard | a11d7b1 | 1998-03-01 20:05:02 +0000 | [diff] [blame] | 9 | |
John R. Sheets | 1e8e5ba | 2000-08-08 01:24:00 +0000 | [diff] [blame] | 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 |
Alexandre Julliard | d37eb36 | 1997-07-20 16:23:21 +0000 | [diff] [blame] | 34 | |
John R. Sheets | 1e8e5ba | 2000-08-08 01:24:00 +0000 | [diff] [blame] | 35 | BOOK_TARGETS = \ |
| 36 | $(BOOKNAME)/index.html \ |
| 37 | $(BOOKNAME).pdf \ |
| 38 | $(BOOKNAME).ps |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 39 | |
John R. Sheets | 1e8e5ba | 2000-08-08 01:24:00 +0000 | [diff] [blame] | 40 | all: $(BOOK_TARGETS) |
Alexandre Julliard | a11d7b1 | 1998-03-01 20:05:02 +0000 | [diff] [blame] | 41 | |
Alexandre Julliard | d37eb36 | 1997-07-20 16:23:21 +0000 | [diff] [blame] | 42 | @MAKE_RULES@ |
| 43 | |
John R. Sheets | 1e8e5ba | 2000-08-08 01:24:00 +0000 | [diff] [blame] | 44 | $(BOOKNAME)/index.html: $(BOOK_SRCS) |
| 45 | db2html $(BOOKNAME).sgml |
Alexandre Julliard | d37eb36 | 1997-07-20 16:23:21 +0000 | [diff] [blame] | 46 | |
John R. Sheets | 1e8e5ba | 2000-08-08 01:24:00 +0000 | [diff] [blame] | 47 | $(BOOKNAME).pdf: $(BOOK_SRCS) |
| 48 | db2pdf $(BOOKNAME).sgml |
Alexandre Julliard | d37eb36 | 1997-07-20 16:23:21 +0000 | [diff] [blame] | 49 | |
John R. Sheets | 1e8e5ba | 2000-08-08 01:24:00 +0000 | [diff] [blame] | 50 | $(BOOKNAME).ps: $(BOOK_SRCS) |
| 51 | db2ps $(BOOKNAME).sgml |
Alexandre Julliard | 641ee76 | 1997-08-04 16:34:36 +0000 | [diff] [blame] | 52 | |
Alexandre Julliard | 44ed71f | 1997-12-21 19:17:50 +0000 | [diff] [blame] | 53 | install:: |
Marcus Meissner | 7b6e3c0 | 1999-07-31 17:29:20 +0000 | [diff] [blame] | 54 | $(INSTALL) -d $(mandir)/man$(prog_manext) |
| 55 | $(INSTALL) -d $(mandir)/man$(conf_manext) |
Peter Ganten | f35cdc8 | 2000-04-04 18:57:19 +0000 | [diff] [blame] | 56 | sed -e 's|$${prefix}|$(prefix)|g' < wine.man > wine.man.tmp && mv wine.man.tmp wine.man |
Alexandre Julliard | d6baf1b | 1999-07-18 15:47:22 +0000 | [diff] [blame] | 57 | $(INSTALL_DATA) wine.man $(mandir)/man$(prog_manext)/wine.$(prog_manext) |
Peter Ganten | f35cdc8 | 2000-04-04 18:57:19 +0000 | [diff] [blame] | 58 | sed -e 's|$${prefix}|'$(prefix)'|g' < wine.conf.man > wine.conf.man.tmp && mv wine.conf.man.tmp wine.conf.man |
Alexandre Julliard | d6baf1b | 1999-07-18 15:47:22 +0000 | [diff] [blame] | 59 | $(INSTALL_DATA) wine.conf.man $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext) |
Alexandre Julliard | 641ee76 | 1997-08-04 16:34:36 +0000 | [diff] [blame] | 60 | |
Alexandre Julliard | 85ed45e | 1998-08-22 19:03:56 +0000 | [diff] [blame] | 61 | uninstall:: |
Alexandre Julliard | ab7fa6d | 1999-10-23 20:19:15 +0000 | [diff] [blame] | 62 | $(RM) $(mandir)/man$(prog_manext)/wine.$(prog_manext) |
| 63 | $(RM) $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext) |
Alexandre Julliard | 85ed45e | 1998-08-22 19:03:56 +0000 | [diff] [blame] | 64 | |
Alexandre Julliard | d37eb36 | 1997-07-20 16:23:21 +0000 | [diff] [blame] | 65 | clean:: |
John R. Sheets | 1e8e5ba | 2000-08-08 01:24:00 +0000 | [diff] [blame] | 66 | $(RM) *.aux *.dvi *.tex *.log $(BOOKNAME).pdf $(BOOKNAME).ps |
| 67 | $(RM) -r $(BOOKNAME) html man3w *.junk DBTOHTML_OUTPUT_DIR* |
Alexandre Julliard | d37eb36 | 1997-07-20 16:23:21 +0000 | [diff] [blame] | 68 | |
| 69 | ### Dependencies: |