makefiles: Get rid of the documentation makefile.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2015-11-09 14:09:46 +09:00
parent 1fa7710ff9
commit 7735bb5217
4 changed files with 8 additions and 10 deletions

View File

@ -112,7 +112,7 @@ include/stamp-h: $(srcdir)/include/config.h.in config.status
clean:: __clean__ clean:: __clean__
distclean:: clean distclean:: clean
$(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h Makefile Make.tmp .gitignore $(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h Makefile Make.tmp .gitignore
$(RM) -r autom4te.cache $(RM) -r autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man$(api_manext)
# Rules for uninstalling # Rules for uninstalling
@ -120,6 +120,13 @@ distclean:: clean
uninstall:: __uninstall__ uninstall:: __uninstall__
-rmdir $(DESTDIR)$(fontdir) $(DESTDIR)$(datadir)/wine $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir) $(DESTDIR)$(includedir) -rmdir $(DESTDIR)$(fontdir) $(DESTDIR)$(datadir)/wine $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir) $(DESTDIR)$(includedir)
# Rules for API documentation
install-manpages:: manpages
for i in documentation/man$(api_manext)/*.$(api_manext); do $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/$$i; done
.PHONY: install-manpages
# Dependencies between directories # Dependencies between directories
# dependencies needed to build any dll or program # dependencies needed to build any dll or program

2
configure vendored
View File

@ -1402,7 +1402,6 @@ enable_xmllite
enable_xolehlp enable_xolehlp
enable_xpsprint enable_xpsprint
enable_xpssvcs enable_xpssvcs
enable_documentation
enable_fonts enable_fonts
enable_include enable_include
enable_libs_port enable_libs_port
@ -18137,7 +18136,6 @@ wine_fn_config_test dlls/xmllite/tests xmllite_test
wine_fn_config_dll xolehlp enable_xolehlp wine_fn_config_dll xolehlp enable_xolehlp
wine_fn_config_dll xpsprint enable_xpsprint wine_fn_config_dll xpsprint enable_xpsprint
wine_fn_config_dll xpssvcs enable_xpssvcs wine_fn_config_dll xpssvcs enable_xpssvcs
wine_fn_config_makefile documentation enable_documentation clean
wine_fn_config_makefile fonts enable_fonts clean,install-lib wine_fn_config_makefile fonts enable_fonts clean,install-lib
wine_fn_config_makefile include enable_include clean,install-dev wine_fn_config_makefile include enable_include clean,install-dev
wine_fn_config_makefile libs/port enable_libs_port wine_fn_config_makefile libs/port enable_libs_port

View File

@ -3493,7 +3493,6 @@ WINE_CONFIG_TEST(dlls/xmllite/tests)
WINE_CONFIG_DLL(xolehlp) WINE_CONFIG_DLL(xolehlp)
WINE_CONFIG_DLL(xpsprint) WINE_CONFIG_DLL(xpsprint)
WINE_CONFIG_DLL(xpssvcs) WINE_CONFIG_DLL(xpssvcs)
WINE_CONFIG_MAKEFILE([documentation],,[clean])
WINE_CONFIG_MAKEFILE([fonts],,[clean,install-lib]) WINE_CONFIG_MAKEFILE([fonts],,[clean,install-lib])
WINE_CONFIG_MAKEFILE([include],,[clean,install-dev]) WINE_CONFIG_MAKEFILE([include],,[clean,install-dev])
WINE_CONFIG_MAKEFILE([libs/port]) WINE_CONFIG_MAKEFILE([libs/port])

View File

@ -1,6 +0,0 @@
install-man::
@cd $(top_builddir) && $(MAKE) manpages
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)