Portability fix.
[wine/wine64.git] / documentation / Makefile.in
bloba0a6164dc5e63a95af6afa2d69f347e60d7f7310
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 MAN_TARGETS = wine.man
49 BOOK_TARGETS = \
50 $(BOOKNAME)/index.html \
51 $(BOOKNAME).pdf \
52 $(BOOKNAME).ps
54 all: $(MAN_TARGETS) $(BOOK_TARGETS)
56 @MAKE_RULES@
58 $(BOOKNAME)/index.html: $(BOOK_SRCS)
59 $(DB2HTML) $(BOOKNAME).sgml
61 $(BOOKNAME).pdf: $(BOOK_SRCS)
62 db2pdf -d ./print.dsl $(BOOKNAME).sgml > /dev/null
64 $(BOOKNAME).ps: $(BOOK_SRCS)
65 db2ps $(BOOKNAME).sgml > /dev/null
67 wine.man: wine.man.in
68 sed -e 's,@bindir\@,$(bindir),g' -e 's,@dlldir\@,$(dlldir),g' -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(SRCDIR)/wine.man.in >$@ || $(RM) $@
70 install:: $(MAN_TARGETS)
71 $(MKINSTALLDIRS) $(mandir)/man$(prog_manext) $(mandir)/man$(conf_manext)
72 $(INSTALL_DATA) wine.man $(mandir)/man$(prog_manext)/wine.$(prog_manext)
73 $(INSTALL_DATA) $(SRCDIR)/wine.conf.man $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext)
75 uninstall::
76 $(RM) $(mandir)/man$(prog_manext)/wine.$(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 $(MAN_TARGETS)
81 $(RM) -r $(BOOKNAME) html man3w *.junk DBTOHTML_OUTPUT_DIR*
83 ### Dependencies: