Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/docs
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2011-09-27 17:23:06 +0400
committerMarek Safar <marek.safar@gmail.com>2011-09-27 17:23:06 +0400
commitb73c337fcfef936149331f060c3cb10fc9ae2f09 (patch)
tree54350267c491f721c83c389c28eba7ad99cbbd3e /mcs/docs
parent5726ba86c49edd352f2441850f28783295b88268 (diff)
Fix mcs/doc builds
Diffstat (limited to 'mcs/docs')
-rw-r--r--mcs/docs/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/mcs/docs/Makefile b/mcs/docs/Makefile
index 3b9e5f6e639..7199eff68f0 100644
--- a/mcs/docs/Makefile
+++ b/mcs/docs/Makefile
@@ -32,11 +32,13 @@ MONODOC_SOURCES_INSTALL_FILES = \
CLEAN_FILES += $(ASSEMBLED_DOCS)
-ifeq (net_4_0, $(PROFILE))
-all-local: build-documentation
+ifndef DISABLE_MCS_DOCS
+ifneq ($(PROFILE), $(DEFAULT_PROFILE))
+DISABLE_MCS_DOCS = yes
+endif
endif
-all-local csproj-local test-local run-test-local run-test-ondotnet-local doc-update:
+csproj-local test-local run-test-local run-test-ondotnet-local doc-update:
clean-local:
-rm -f $(CLEAN_FILES)
@@ -47,11 +49,15 @@ dist-local: dist-default
MONODOC_INSTALL_DIR = $(DESTDIR)$(mono_libdir)/monodoc
ifdef DISABLE_MCS_DOCS
+all-local:
+
install-local:
uninstall-local:
else
+all-local: $(ASSEMBLED_DOCS)
+
install-local:
$(MKINSTALLDIRS) $(MONODOC_INSTALL_DIR) $(MONODOC_INSTALL_DIR)/sources
$(INSTALL_DATA) $(MONODOC_SOURCES_INSTALL_FILES) $(MONODOC_INSTALL_DIR)/sources
@@ -108,12 +114,6 @@ NUNIT_DIRS = \
$(topdir)/nunit20/mocks/$(doc_en) \
$(topdir)/nunit20/util/$(doc_en)
-ifdef DISABLE_MCS_DOCS
-build-documentation:
-else
-build-documentation: $(ASSEMBLED_DOCS)
-endif
-
# To support `make -jN`, we can't mention multiple targets in the same rule;
# DO NOT DO THIS:
#