2004-09-03 15:13:39 +00:00
|
|
|
SUBDIRS = updater
|
|
|
|
|
2004-06-10 20:46:02 +00:00
|
|
|
ASSEMBLER = monodoc --assemble
|
2004-09-03 15:13:39 +00:00
|
|
|
UPDATER = $(RUNTIME) updater/updater.exe
|
2004-03-30 22:32:46 +00:00
|
|
|
|
2004-09-04 17:46:31 +00:00
|
|
|
if ENABLE_GLADE
|
|
|
|
GLADE_DIR = glade
|
|
|
|
else
|
|
|
|
GLADE_DIR =
|
|
|
|
endif
|
|
|
|
|
2004-11-09 18:36:27 +00:00
|
|
|
if ENABLE_GNOMEVFS
|
|
|
|
GNOME_VFS_DIR = gnomevfs
|
|
|
|
else
|
|
|
|
GNOME_VFS_DIR =
|
|
|
|
endif
|
|
|
|
|
2004-09-04 17:46:31 +00:00
|
|
|
if ENABLE_GNOME
|
|
|
|
GNOME_DIR = art gnome gconf/GConf gconf/GConf.PropertyEditors
|
|
|
|
else
|
|
|
|
GNOME_DIR =
|
|
|
|
endif
|
|
|
|
|
2004-11-09 18:36:27 +00:00
|
|
|
if ENABLE_PANEL
|
|
|
|
PANELAPPLET_DIR = panelapplet
|
|
|
|
else
|
|
|
|
PANELAPPLET_DIR =
|
|
|
|
endif
|
|
|
|
|
2004-09-04 17:46:31 +00:00
|
|
|
if ENABLE_GTKHTML
|
|
|
|
GTKHTML_DIR = gtkhtml
|
|
|
|
else
|
|
|
|
GTKHTML_DIR =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_GDA
|
|
|
|
GDA_DIR = gda
|
|
|
|
else
|
|
|
|
GDA_DIR =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_GNOMEDB
|
|
|
|
GNOMEDB_DIR = gnomedb
|
|
|
|
else
|
|
|
|
GNOMEDB_DIR =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_RSVG
|
|
|
|
RSVG_DIR = rsvg
|
|
|
|
else
|
|
|
|
RSVG_DIR =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_VTE
|
|
|
|
VTE_DIR = vte
|
|
|
|
else
|
|
|
|
VTE_DIR =
|
|
|
|
endif
|
|
|
|
|
2004-11-09 18:36:27 +00:00
|
|
|
UPDATE_DIRS=glib pango atk gdk gtk glade $(GNOME_VFS_DIR) $(GNOME_DIR) $(PANELAPPLET_DIR) $(GDA_DIR) $(GNOMEDB_DIR) $(RSVG_DIR) $(GTKHTML_DIR) $(VTE_DIR)
|
|
|
|
NAMESPACES=GLib Pango Atk Gdk Gtk Glade Art Gnome.Vfs Gnome PanelApplet 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:
|
2004-09-04 17:46:31 +00:00
|
|
|
for i in $(UPDATE_DIRS); do \
|
2004-11-05 19:21:23 +00:00
|
|
|
cp ../$$i/*.dll updater; \
|
2004-05-28 16:59:21 +00:00
|
|
|
$(UPDATER) ../$$i/*.dll -o ./en || exit 1; \
|
2004-03-30 22:32:46 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
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
|
|
|
|
2004-06-29 16:59:00 +00:00
|
|
|
|
|
|
|
push:
|
|
|
|
scp gtk-sharp-docs* miguel@www.go-mono.com:/mono/lib/monodoc/sources
|