blob: ece117cd5c00c6a11a5977f82a5ddd97e7aa85ba [file] [log] [blame]
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 $(DLLDIR) && $(MAKE) man
htmlpages: html dummy
@cd $(DLLDIR) && $(MAKE) doc-html
sgmlpages: api-guide dummy
@cd $(DLLDIR) && $(MAKE) doc-sgml
xmlpages: api-guide-xml dummy
@cd $(DLLDIR) && $(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)