GtkSharp/doc/Makefile.am
Mike Kestner f8d36b9453 2005-05-23 Mike Kestner <mkestner@novell.com>
* configure.in.in : add monodocer-fu.

2005-05-23  Mike Kestner  <mkestner@novell.com>

	* Makefile.am : switch to monodocer
	* updater : kill
	* en/*/*.xml : enormo-diff from monodocer first run without --delete.

svn path=/trunk/gtk-sharp/; revision=44915
2005-05-23 20:41:51 +00:00

64 lines
1.5 KiB
Makefile

ASSEMBLER = $(MONODOC) --assemble
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 \
gda-sharp.dll \
gnomedb-sharp.dll \
gconf-sharp.dll \
gconf-sharp-peditors.dll \
gtkhtml-sharp.dll \
rsvg-sharp.dll \
vte-sharp.dll \
gtk-dotnet.dll
UPDATE_ASSEMBLIES = $(addprefix -assembly:lib/, $(ASSEMBLIES))
if ENABLE_ALL_OPTIONAL
UPDATER = $(MONODOCER) -path:en $(UPDATE_ASSEMBLIES)
else
UPDATER = echo "All optional assemblies must be built to use the updater." && exit 1
endif
assemble: gtk-sharp-docs.zip gtk-sharp-docs.tree
gtk-sharp-docs.zip gtk-sharp-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml
$(ASSEMBLER) --ecma $(srcdir)/en -o gtk-sharp-docs
get-assemblies:
mkdir -p lib
cp $(top_builddir)/*/*.dll lib
cp $(top_builddir)/*/*.dll.config lib
cp $(top_builddir)/gconf/*/*.dll lib
cp $(top_builddir)/gconf/*/*.dll.config lib
update: get-assemblies
$(UPDATER)
CLEANFILES = gtk-sharp-docs.zip gtk-sharp-docs.tree lib
EXTRA_DIST = \
gtk-sharp-docs.source
NAMESPACES=GLib Pango Atk Gdk Gtk Gtk.DotNet Glade Art Gnome.Vfs Gnome Gda GnomeDb GConf GConf.PropertyEditors Rsvg Vte
dist-hook:
mkdir -p $(distdir)/en
cp $(srcdir)/en/*.xml $(distdir)/en/
for i in $(NAMESPACES); do \
mkdir -p $(distdir)/en/$$i; \
cp $(srcdir)/en/$$i/*.xml $(distdir)/en/$$i; \
done
push:
scp gtk-sharp-docs* miguel@www.go-mono.com:/mono/lib/monodoc/sources