2009-01-06 Mike Kestner <mkestner@novell.com>

* configure.in.in: update to use mdoc.
	* doc/Makefile.am: update to use mdoc.
	* doc/gtk-sharp-docs.source: add node element to conform to new
	monodoc layout model.

svn path=/trunk/gtk-sharp/; revision=122568
This commit is contained in:
Mike Kestner 2009-01-06 17:38:06 +00:00
parent 93748ff346
commit 33cd36a8fd
4 changed files with 33 additions and 27 deletions

View file

@ -1,3 +1,10 @@
2009-01-06 Mike Kestner <mkestner@novell.com>
* configure.in.in: update to use mdoc.
* doc/Makefile.am: update to use mdoc.
* doc/gtk-sharp-docs.source: add node element to conform to new
monodoc layout model.
2009-01-05 Andrés G. Aragoneses <aaragoneses@novell.com>
* GType.cs:

View file

@ -196,17 +196,15 @@ PKG_CHECK_MODULES(GLADE, libglade-2.0 >= $GLADE_REQUIRED_VERSION, enable_glade=y
AC_SUBST(GLADE_CFLAGS)
AC_SUBST(GLADE_LIBS)
AC_PATH_PROG(MDASSEMBLER, mdassembler, no)
AC_PATH_PROG(MONODOCER, monodocer, no)
if test "x$MONODOCER" = "xno" -o "x$MDASSEMBLER" = "xno"; then
AC_PATH_PROG(MDOC, mdoc, no)
if test "x$MDOC" = "xno"; then
enable_monodoc=no
doc_sources_dir=
else
enable_monodoc=yes
doc_sources_dir="`pkg-config --variable=sourcesdir monodoc`"
fi
AC_SUBST(MDASSEMBLER)
AC_SUBST(MONODOCER)
AC_SUBST(MDOC)
AM_CONDITIONAL(ENABLE_MONO_CAIRO, test "x$enable_mono_cairo" = "xyes")
AM_CONDITIONAL(ENABLE_GLADE, test "x$enable_glade" = "xyes")

View file

@ -1,23 +1,21 @@
ASSEMBLIES = \
glib-sharp.dll \
pango-sharp.dll \
atk-sharp.dll \
gdk-sharp.dll \
gtk-sharp.dll \
glade-sharp.dll \
gnome-vfs-sharp.dll \
art-sharp.dll \
gnome-sharp.dll \
gconf-sharp.dll \
gconf-sharp-peditors.dll \
gtkhtml-sharp.dll \
rsvg-sharp.dll \
vte-sharp.dll \
gtk-dotnet.dll
ASSEMBLIES = \
lib/glib-sharp.dll \
lib/pango-sharp.dll \
lib/atk-sharp.dll \
lib/gdk-sharp.dll \
lib/gtk-sharp.dll \
lib/glade-sharp.dll \
lib/gnome-vfs-sharp.dll \
lib/art-sharp.dll \
lib/gnome-sharp.dll \
lib/gconf-sharp.dll \
lib/gconf-sharp-peditors.dll \
lib/gtkhtml-sharp.dll \
lib/rsvg2-sharp.dll \
lib/vte-sharp.dll \
lib/gtk-dotnet.dll
UPDATE_ASSEMBLIES = $(addprefix -assembly:lib/, $(ASSEMBLIES))
UPDATER = $(MONODOCER) -path:en -pretty $(UPDATE_ASSEMBLIES)
UPDATER = $(MDOC) update --out=en -pretty --fno-assembly-versions --since="Gtk# 2.14" $(ASSEMBLIES)
if ENABLE_MONODOC
SOURCESDIR=$(prefix)/lib/monodoc/sources
@ -33,7 +31,7 @@ monodoc_DATA=$(TARGETS)
assemble: gtk-sharp-docs.zip gtk-sharp-docs.tree
gtk-sharp-docs.zip gtk-sharp-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml
$(MDASSEMBLER) --ecma $(srcdir)/en -o gtk-sharp-docs
$(MDOC) assemble -o gtk-sharp-docs $(srcdir)/en
get-assemblies:
echo "assumes gnome-sharp and gtk-sharp checkouts in same parent"
@ -44,12 +42,14 @@ get-assemblies:
cp $(top_builddir)/../gnome-sharp/*/*.dll.config lib
cp $(top_builddir)/../gnome-sharp/gconf/*/*.dll lib
cp $(top_builddir)/../gnome-sharp/gconf/*/*.dll.config lib
cp $(top_builddir)/../gnome-desktop-sharp/*/*.dll lib
cp $(top_builddir)/../gnome-desktop-sharp/*/*.dll.config lib
update: get-assemblies
$(UPDATER)
$(MDOC) update --out=en --fno-assembly-versions --since="Gtk# 2.14" $(ASSEMBLIES)
update-delete: get-assemblies
$(UPDATER) --delete
$(MDOC) update --out=en --fno-assembly-versions --delete --since="Gtk# 2.14" $(ASSEMBLIES)
CLEANFILES = gtk-sharp-docs.zip gtk-sharp-docs.tree lib

View file

@ -1,4 +1,5 @@
<?xml version="1.0"?>
<monodoc>
<node label="Gnome Libraries" name="classlib-gnome" parent="libraries" />
<source provider="ecma" basefile="gtk-sharp-docs" path="classlib-gnome"/>
</monodoc>