1 TOPSRCDIR = @top_srcdir@
27 EXTRASUBDIRS = samples status
29 all: $(INFOFILES) $(DVIFILES) $(HTMLFILES)
39 $(INFOFILES): $(SOURCES)
40 makeinfo $(SRCDIR)/wine.texinfo
42 $(DVIFILES): $(SOURCES)
43 texi2dvi $(SRCDIR)/wine.texinfo
45 $(HTMLFILES): $(SOURCES)
46 makeinfo -E wine.texi $(SRCDIR)/wine.texinfo
51 for i in $(INCLUDES); do $(LN_S) $(TOPSRCDIR)/$$i $$i || exit 1; done
54 $(INSTALL) -d $(mandir)/man$(prog_manext)
55 $(INSTALL) -d $(mandir)/man$(conf_manext)
56 sed -e 's|$${prefix}|$(prefix)|g' < wine.man > wine.man.tmp && mv wine.man.tmp wine.man
57 $(INSTALL_DATA) wine.man $(mandir)/man$(prog_manext)/wine.$(prog_manext)
58 sed -e 's|$${prefix}|'$(prefix)'|g' < wine.conf.man > wine.conf.man.tmp && mv wine.conf.man.tmp wine.conf.man
59 $(INSTALL_DATA) wine.conf.man $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext)
62 $(RM) $(mandir)/man$(prog_manext)/wine.$(prog_manext)
63 $(RM) $(mandir)/man$(conf_manext)/wine.conf.$(conf_manext)
65 # Not done by default because of makeinfo bugs
66 install_info: $(INFOFILES)
67 [ -d $(infodir) ] || mkdir -p $(infodir)
68 for i in $(INFOFILES); do $(INSTALL_DATA) $$i $(infodir)/$$i; done
71 for i in $(INFOFILES); do $(RM) $(infodir)/$$i; done
74 $(RM) $(INFOFILES) $(DVIFILES) $(INCLUDES)
75 $(RM) wine.aux wine.cp wine.cps wine.fn wine.fns wine.ky wine.log \
76 wine.pg wine.toc wine.tp wine.tps wine.vr wine.vrs \