Commit 078eb1fd authored by Alexandre Julliard's avatar Alexandre Julliard

Moved the API doc rules to the documentation makefile.

parent e546238c
...@@ -42,7 +42,6 @@ SUBDIRS = \ ...@@ -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: ...@@ -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 ...@@ -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:
...@@ -8,9 +8,23 @@ EXTRASUBDIRS = samples ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment