32 lines
626 B
Makefile
32 lines
626 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = none
|
|
|
|
INSTALLDIRS = $(DESTDIR)$(mandir)/man$(api_manext)
|
|
|
|
@MAKE_RULES@
|
|
|
|
manpages:
|
|
$(MKINSTALLDIRS) man$(api_manext)
|
|
@cd $(DLLDIR) && $(MAKE) man
|
|
|
|
htmlpages:
|
|
$(MKINSTALLDIRS) html
|
|
@cd $(DLLDIR) && $(MAKE) doc-html
|
|
|
|
sgmlpages:
|
|
$(MKINSTALLDIRS) api-guide
|
|
@cd $(DLLDIR) && $(MAKE) doc-sgml
|
|
|
|
.PHONY: manpages htmlpages sgmlpages
|
|
|
|
install:: manpages $(INSTALLDIRS)
|
|
for i in man$(api_manext)/*.$(api_manext); do $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/$$i; done
|
|
|
|
clean::
|
|
$(RM) -r html api-guide man$(api_manext)
|
|
|
|
### Dependencies:
|