Moved the API doc rules to the documentation makefile.

This commit is contained in:
Alexandre Julliard 2005-06-15 18:12:15 +00:00
parent e546238c7e
commit 078eb1fdab
2 changed files with 19 additions and 15 deletions

View File

@ -42,7 +42,6 @@ SUBDIRS = \
# Sub-directories to install for install-lib
INSTALLLIBSUBDIRS = \
documentation \
$(FONTSSUBDIRS) \
loader \
programs \
@ -141,17 +140,8 @@ TAGS etags:
tags ctags:
find $(TOPSRCDIR) -name '*.[ch]' -a -not -name '*.spec.c' -a -not -name '*.dbg.c' -print | ctags --c-types=+px -L -
manpages:
$(MKINSTALLDIRS) $(TOPOBJDIR)/documentation/man3w
cd dlls && $(MAKE) man
htmlpages:
$(MKINSTALLDIRS) $(TOPOBJDIR)/documentation/html
cd dlls && $(MAKE) doc-html
sgmlpages:
$(MKINSTALLDIRS) $(TOPOBJDIR)/documentation/api-guide
cd dlls && $(MAKE) doc-sgml
manpages htmlpages sgmlpages:
cd documentation && $(MAKE) $@
clean::
$(RM) wine
@ -161,6 +151,6 @@ distclean: clean
$(RM) -r autom4te.cache
$(RM) `find . \( -name Makefile -o -size 0 \) -print`
.PHONY: manpages htmlpages distclean
.PHONY: manpages htmlpages sgmlpages distclean
### Dependencies:

View File

@ -8,9 +8,23 @@ EXTRASUBDIRS = samples
@MAKE_RULES@
install-api-man::
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
$(MKINSTALLDIRS) $(mandir)/man$(api_manext)
for i in man$(api_manext)/*; do $(INSTALL_DATA) $$i $(mandir)/man$(api_manext); done
for i in man$(api_manext)/*.$(api_manext); do $(INSTALL_DATA) $$i $(mandir)/$$i; done
clean::
$(RM) -r html api-guide man$(api_manext)