1 TOPSRCDIR = @top_srcdir@
9 EXTRASUBDIRS = samples status
39 winelib-bindlls.sgml \
43 winelib-porting.sgml \
44 winelib-toolkit.sgml \
47 MAN_TARGETS = wine.man
50 $(BOOKNAME)/index.html \
54 all: $(MAN_TARGETS) $(BOOK_TARGETS)
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
68 sed -e 's,@bindir\@,$(bindir),g' -e 's,@libdir\@,$(libdir),g' $(SRCDIR)/wine.man.in >$@ || $(RM) $@
70 install:: $(MAN_TARGETS)
71 $(INSTALL) -d $(mandir)/man$(prog_manext)
72 $(INSTALL) -d $(mandir)/man$(conf_manext)
73 $(INSTALL_DATA) wine.man $(mandir)/man$(prog_manext)/wine.$(prog_manext)
74 $(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
75 $(INSTALL_DATA) $(SRCDIR)/wine.conf.man $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext)
78 $(RM) $(mandir)/man$(prog_manext)/wine.$(prog_manext)
79 $(RM) $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
80 $(RM) $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext)
83 $(RM) *.aux *.dvi *.out *.pdf *.ps *.tex *.log $(BOOKNAME).pdf $(BOOKNAME).ps $(MAN_TARGETS)
84 $(RM) -r $(BOOKNAME) html man3w *.junk DBTOHTML_OUTPUT_DIR*