GtkSharp/doc/Makefile.am
Mike Kestner 725f65261c 2004-06-10 Mike Kestner <mkestner@ximian.com>
* configure.in : break the monodoc dep, even though it was optional
	it was a pain in the backside.
	* doc/Makefile.am : add assemble target to build docs using monodoc.
	we now have two manual targets which use monodoc, but aren't required
	for the default build (update and assemble).

svn path=/trunk/gtk-sharp/; revision=29238
2004-06-10 20:46:02 +00:00

49 lines
1.3 KiB
Makefile

docsdir = $(datadir)/doc/gtk-sharp/xml
docs_DATA = gtk-sharp-docs.source
ASSEMBLER = monodoc --assemble
UPDATER = monodoc --update
DIRS=glib pango atk gdk gtk glade art gnome gda gnomedb gconf/GConf gconf/GConf.PropertyEditors rsvg gtkhtml vte
NAMESPACES=GLib Pango Atk Gdk Gtk Glade Art Gnome Gda GnomeDb GConf GConf.PropertyEditors Rsvg Vte
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
update:
for i in $(DIRS); do \
$(UPDATER) ../$$i/*.dll -o ./en || exit 1; \
done
sources = \
Tool.cs
build_sources = $(addprefix $(srcdir)/, $(sources))
CLEANFILES = gtk-sharp-docs.zip gtk-sharp-docs.tree
EXTRA_DIST = \
gtk-sharp-docs.source
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
install-data-local:
mkdir -p $(DESTDIR)$(docsdir)/en
cp $(srcdir)/en/*.xml $(DESTDIR)$(docsdir)/en;
for i in $(NAMESPACES); do \
mkdir -p $(DESTDIR)$(docsdir)/en/$$i; \
cp $(srcdir)/en/$$i/*.xml $(DESTDIR)$(docsdir)/en/$$i; \
done
uninstall-local:
rm -rf $(DESTDIR)$(docsdir)/en