GtkSharp/doc/Makefile.am
Mike Kestner 37fc7b8f19 2004-11-09 Mike Kestner <mkestner@novell.com>
* configure.in : conditional stuff for gnomevfs
	* doc/Makefile.am : conditionally update panelapplet and gnomevfs.
	* doc/en/*/* : update to add PanelApplet and Gnome.Vfs stubs.
	* gnomevfs/Makefile.am : make conditional

svn path=/trunk/gtk-sharp/; revision=35905
2004-11-09 18:36:27 +00:00

89 lines
1.6 KiB
Makefile

SUBDIRS = updater
ASSEMBLER = monodoc --assemble
UPDATER = $(RUNTIME) updater/updater.exe
if ENABLE_GLADE
GLADE_DIR = glade
else
GLADE_DIR =
endif
if ENABLE_GNOMEVFS
GNOME_VFS_DIR = gnomevfs
else
GNOME_VFS_DIR =
endif
if ENABLE_GNOME
GNOME_DIR = art gnome gconf/GConf gconf/GConf.PropertyEditors
else
GNOME_DIR =
endif
if ENABLE_PANEL
PANELAPPLET_DIR = panelapplet
else
PANELAPPLET_DIR =
endif
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
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
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 $(UPDATE_DIRS); do \
cp ../$$i/*.dll updater; \
$(UPDATER) ../$$i/*.dll -o ./en || exit 1; \
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/
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