2010-03-17 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mcs / build / library.make
index b8c819ef6819b7199f95e2641bd96a1eec73d6de..a8eb8ae17907b5b8cbf82b8b3d71d90f63610fc6 100644 (file)
@@ -19,6 +19,7 @@ sourcefile = $(depsdir)/$(PROFILE)_$(LIBRARY).sources
 $(sourcefile): $(PROFILE_sources) $(PROFILE_excludes) $(COMMON_sourcefile)
        @echo Creating the per profile list $@ ...
        $(topdir)/tools/gensources.sh $(PROFILE_sources) $(PROFILE_excludes) > $@
+library_CLEAN_FILES += $(sourcefile)
 endif
 
 PLATFORM_excludes := $(wildcard $(LIBRARY).$(PLATFORM)-excludes)
@@ -275,6 +276,7 @@ $(makefrag) $(test_response) $(test_makefrag) $(btest_response) $(btest_makefrag
 
 Q_MDOC_UP=$(if $(V),,@echo "MDOC-UP [$(PROFILE)] $(notdir $(@))";)
 MDOC_UP  =$(Q_MDOC_UP) \
+               MONO_PATH="$(topdir)/class/lib/net_4_0$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/net_2_0$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" \
                $(RUNTIME) $(topdir)/tools/mdoc/mdoc.exe update --delete            \
                        -o Documentation/en $(the_lib)