Moved the API doc rules to the documentation makefile.

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

View File

@ -8,9 +8,23 @@ EXTRASUBDIRS = samples
@MAKE_RULES@ @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) $(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:: clean::
$(RM) -r html api-guide man$(api_manext) $(RM) -r html api-guide man$(api_manext)