2004-06-10 19:45:20 +00:00
|
|
|
docsdir = $(datadir)/doc/gtk-sharp/xml
|
2004-06-10 20:46:02 +00:00
|
|
|
docs_DATA = gtk-sharp-docs.source
|
2004-03-30 22:32:46 +00:00
|
|
|
|
2004-06-10 20:46:02 +00:00
|
|
|
ASSEMBLER = monodoc --assemble
|
|
|
|
UPDATER = monodoc --update
|
2004-03-30 22:32:46 +00:00
|
|
|
|
2004-06-10 19:45:20 +00:00
|
|
|
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
|
2004-03-30 22:32:46 +00:00
|
|
|
|
2004-06-10 20:46:02 +00:00
|
|
|
assemble: gtk-sharp-docs.zip gtk-sharp-docs.tree
|
|
|
|
|
2004-03-30 22:32:46 +00:00
|
|
|
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 \
|
2004-05-28 16:59:21 +00:00
|
|
|
$(UPDATER) ../$$i/*.dll -o ./en || exit 1; \
|
2004-03-30 22:32:46 +00:00
|
|
|
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/
|
2004-06-10 20:46:02 +00:00
|
|
|
for i in $(NAMESPACES); do \
|
|
|
|
mkdir -p $(distdir)/en/$$i; \
|
|
|
|
cp $(srcdir)/en/$$i/*.xml $(distdir)/en/$$i; \
|
|
|
|
done
|
2004-06-10 19:45:20 +00:00
|
|
|
|
|
|
|
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; \
|
2004-06-10 20:46:02 +00:00
|
|
|
cp $(srcdir)/en/$$i/*.xml $(DESTDIR)$(docsdir)/en/$$i; \
|
2004-06-10 19:45:20 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
rm -rf $(DESTDIR)$(docsdir)/en
|
|
|
|
|