+2008-10-17 Jonathan Pryor <jpryor@novell.com>
+
+ * build.rules: doc-update is now a standard target; provide a $(MDOC)
+ variable to simplify running the `mdoc` updater program.
+ * executable.make: Add doc-update target support (does nothing).
+ * library.make: Add doc-update target support; runs `mdoc update` on
+ the assembly, updating the documentation within Documentation/en.
+ * Makefile: Add doc-update target support.
+
2008-09-14 Zoltan Varga <vargaz@gmail.com>
* library.make: Allow FIXTURE make variable to be passed to nunit.
BUILT_FILES = common/Consts.cs
-all-local install-local test-local run-test-local run-test-ondotnet-local uninstall-local: $(BUILT_FILES)
+all-local install-local test-local run-test-local run-test-ondotnet-local uninstall-local doc-update-local: $(BUILT_FILES)
@:
clean-local:
$(response): $(topdir)/build/executable.make $(depsdir)/.stamp
endif
$(makefrag): $(topdir)/build/executable.make $(depsdir)/.stamp
+
+doc-update-local:
+ @:
+
$(response): $(topdir)/build/library.make $(depsdir)/.stamp
endif
$(makefrag) $(test_response) $(test_makefrag) $(btest_response) $(btest_makefrag): $(topdir)/build/library.make $(depsdir)/.stamp
+
+## Documentation stuff
+
+Q_MDOC_UP=$(if $(V),,@echo "MDOC-UP [$(PROFILE)] $(notdir $(@))";)
+MDOC_UP =$(Q_MDOC_UP) \
+ if `echo $(PROFILE) | grep ^net_1_ > /dev/null 2>/dev/null` ; then \
+ $(RUNTIME) $(topdir)/tools/mdoc/monodocer1.exe \
+ -path:Documentation/en -assembly:$(the_lib) ; \
+ else \
+ $(RUNTIME) $(topdir)/tools/mdoc/mdoc.exe update --delete \
+ -o Documentation/en $(the_lib) ; \
+ fi
+
+doc-update-local: $(the_libdir)/.doc-stamp
+
+$(the_libdir)/.doc-stamp: $(the_lib)
+ $(MDOC_UP)
+ @echo "doc-stamp" > $@
+
GACUTIL = MONO_PATH="$(topdir)/class/lib/net_1_1_bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(gacutil)
endif
-STD_TARGETS = test run-test run-test-ondotnet clean install uninstall
+STD_TARGETS = test run-test run-test-ondotnet clean install uninstall doc-update
$(STD_TARGETS): %: do-%
withmcs:
$(MAKE) MCS='$(INTERNAL_MCS)' BOOTSTRAP_MCS='$(INTERNAL_MCS)' all
+
+## Documentation stuff
+
+Q_MDOC =$(if $(V),,@echo "MDOC [$(PROFILE)] $(notdir $(@))";)
+MDOC =$(Q_MDOC) $(RUNTIME) $(topdir)/tools/mdoc/mdoc.exe
+
+2008-10-17 Jonathan Pryor <jpryor@novell.com>
+
+ * I18N/Makefile: Add doc-update target support.
+
2008-10-13 Jonathan Pryor <jpryor@novell.com>
* Makefile (net_2_0_dirs): Add Mono.Options.
tools/ucm2cp.c \
tools/uni2tab.c
-all-local install-local clean-local test-local run-test-local run-test-ondotnet-local uninstall-local:
+all-local install-local clean-local test-local run-test-local run-test-ondotnet-local uninstall-local doc-update-local:
dist-local: dist-default
+2008-10-17 Jonathan Pryor <jpryor@novell.com>
+
+ * Test/Makefile: Add doc-update target support.
+
2008-05-14 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : use EXTRA_DISTFILES.
thisdir = class/System.Data.DataSetExtensions/Test
include ../../../build/rules.make
-all-local install-local clean-local test-local run-test-local run-test-ondotnet-local uninstall-local:
+all-local install-local clean-local test-local run-test-local run-test-ondotnet-local uninstall-local doc-update-local:
DISTFILES = $(wildcard *.aspx)
+2008-10-17 Jonathan Pryor <jpryor@novell.com>
+
+ * Test/Makefile: Add doc-update target support.
+
2008-10-08 Atsushi Enomoto <atsushi@ximian.com>
* Makefile: add reference to S.D.Linq.
thisdir = class/System.Web.Extensions/Test
include ../../../build/rules.make
-all-local install-local clean-local test-local run-test-local run-test-ondotnet-local uninstall-local:
+all-local install-local clean-local test-local run-test-local run-test-ondotnet-local uninstall-local doc-update-local:
DISTFILES = $(wildcard *.aspx)
+2008-10-17 Jonathan Pryor <jpryor@novell.com>
+
+ * Test/Makefile: Add doc-update target support.
+
2008-10-09 Marek Habersack <mhabersack@novell.com>
* System.Web.dll.sources: added System.Web.Configuration_2.0/MonoSettingsSection.cs
SUBDIRS = TestMonoWeb
include ../../../build/rules.make
-all-local install-local clean-local test-local run-test-local run-test-ondotnet-local uninstall-local:
+all-local install-local clean-local test-local run-test-local run-test-ondotnet-local uninstall-local doc-update-local:
DISTFILES = DataBinderTests.cs $(wildcard *.aspx)
/noconfig /r:System.dll /r:System.Web.dll \
/r:System.Drawing.dll /r:System.Xml.dll
-all-local install-local uninstall-local:
+all-local install-local uninstall-local doc-update-local:
# it doesn't compile for me.
# test-local: TestMonoWeb.exe
+2008-10-17 Jonathan Pryor <jpryor@novell.com>
+
+ * Makefile: Add doc-update target support.
+
2008-09-09 Miguel de Icaza <miguel@novell.com>
* skeleton.cs: A little refactoring to support producing a list of
dist-local: dist-default
-test-local run-test-local run-test-ondotnet-local:
+test-local run-test-local run-test-ondotnet-local doc-update-local:
jay: $(sources:.c=.o)
$(CCOMPILE) -o $@ $^
+2008-10-17 Jonathan Pryor <jpryor@novell.com>
+
+ * Makefile: Add doc-update target support.
+
2008-10-17 Jb Evain <jbevain@novell.com>
* Makefile: clean the Makefile, following the pattern in ../class,
gensources.sh \
removecomments.sh
-test-local run-test-local run-test-ondotnet-local all-local install-local uninstall-local:
+test-local run-test-local run-test-ondotnet-local all-local install-local uninstall-local doc-update-local:
@:
dist-local: dist-default
+2008-10-17 Jonathan Pryor <jpryor@novell.com>
+
+ * Makefile: Add doc-update target support.
+
2008-05-21 Gert Driesen <drieseng@users.sourceforge.net>
* mono-api.xsl: Added support for event accessors.
all-local: $(ALL_PROGRAMS)
+doc-update-local:
+
install-local: $(ALL_PROGRAMS)
$(MKINSTALLDIRS) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
for i in $(ALL_PROGRAMS) ; do \
+2008-10-17 Jonathan Pryor <jpryor@novell.com>
+
+ * Makefile: Add doc-update target support.
+
2008-03-13 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Update copyright notices.
all-local: $(SECURITY_TARGETS)
endif
+doc-update-local:
+
install-local: all-local
uninstall-local: