wine/documentation/Makefile.in

30 lines
755 B
Makefile

TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = none
INSTALLDIRS = man$(api_manext) html api-guide api-guide-xml $(DESTDIR)$(mandir)/man$(api_manext)
@MAKE_RULES@
manpages: man$(api_manext) dummy
@cd $(TOPOBJDIR) && $(MAKE) man
htmlpages: html dummy
@cd $(TOPOBJDIR) && $(MAKE) doc-html
sgmlpages: api-guide dummy
@cd $(TOPOBJDIR) && $(MAKE) doc-sgml
xmlpages: api-guide-xml dummy
@cd $(TOPOBJDIR) && $(MAKE) doc-xml
.PHONY: manpages htmlpages sgmlpages xmlpages install-man
install-man:: manpages $(DESTDIR)$(mandir)/man$(api_manext)
for i in man$(api_manext)/*.$(api_manext); do $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/$$i; done
clean::
$(RM) -r html api-guide api-guide-xml man$(api_manext)