1 TOPSRCDIR = @top_srcdir@
9 EXTRASUBDIRS = samples status
40 winelib-bindlls.sgml \
44 winelib-porting.sgml \
45 winelib-toolkit.sgml \
48 MAN_TARGETS = wine.man
51 $(BOOKNAME)/index.html \
59 everything: $(MAN_TARGETS) $(BOOK_TARGETS)
61 html: $(BOOKNAME)/index.html
65 .PHONY: everything doc html pdf ps
67 $(BOOKNAME)/index.html: $(BOOK_SRCS)
68 $(DB2HTML) $(BOOKNAME).sgml
70 $(BOOKNAME).pdf: $(BOOK_SRCS)
71 db2pdf -d ./print.dsl $(BOOKNAME).sgml > /dev/null
73 $(BOOKNAME).ps: $(BOOK_SRCS)
74 db2ps $(BOOKNAME).sgml > /dev/null
77 sed -e 's,@bindir\@,$(bindir),g' -e 's,@dlldir\@,$(dlldir),g' -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(SRCDIR)/wine.man.in >$@ || $(RM) $@
79 install:: $(MAN_TARGETS)
80 $(MKINSTALLDIRS) $(mandir)/man$(prog_manext) $(mandir)/man$(conf_manext)
81 $(INSTALL_DATA) wine.man $(mandir)/man$(prog_manext)/wine.$(prog_manext)
82 $(INSTALL_DATA) $(SRCDIR)/wine.conf.man $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext)
85 $(RM) $(mandir)/man$(prog_manext)/wine.$(prog_manext)
86 $(RM) $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext)
89 $(RM) *.aux *.dvi *.out *.pdf *.ps *.tex *.log $(BOOKNAME).pdf $(BOOKNAME).ps $(MAN_TARGETS)
90 $(RM) -r $(BOOKNAME) html man3w *.junk DBTOHTML_OUTPUT_DIR*