2005-05-23 20:41:51 +00:00
|
|
|
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 \
|
|
|
|
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
|
2004-09-04 17:46:31 +00:00
|
|
|
endif
|
|
|
|
|
2005-09-07 16:54:16 +00:00
|
|
|
if ENABLE_MONODOC
|
|
|
|
SOURCESDIR=$(prefix)/lib/monodoc/sources
|
|
|
|
TARGETS=gtk-sharp-docs.zip gtk-sharp-docs.tree gtk-sharp-docs.source
|
|
|
|
else
|
|
|
|
SOURCESDIR=$(datadir)
|
|
|
|
TARGETS=
|
|
|
|
endif
|
|
|
|
|
|
|
|
monodocdir=$(SOURCESDIR)
|
|
|
|
monodoc_DATA=$(TARGETS)
|
|
|
|
|
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
|
2005-08-29 00:02:37 +00:00
|
|
|
$(MDASSEMBLER) --ecma $(srcdir)/en -o gtk-sharp-docs
|
2004-03-30 22:32:46 +00:00
|
|
|
|
2005-05-23 20:41:51 +00:00
|
|
|
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
|
2004-03-30 22:32:46 +00:00
|
|
|
|
2005-05-23 20:41:51 +00:00
|
|
|
update: get-assemblies
|
|
|
|
$(UPDATER)
|
|
|
|
|
2005-05-23 21:11:27 +00:00
|
|
|
update-delete: get-assemblies
|
|
|
|
$(UPDATER) --delete
|
|
|
|
|
2005-05-23 20:41:51 +00:00
|
|
|
CLEANFILES = gtk-sharp-docs.zip gtk-sharp-docs.tree lib
|
2004-03-30 22:32:46 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
gtk-sharp-docs.source
|
|
|
|
|
2005-08-09 20:38:06 +00:00
|
|
|
NAMESPACES=GLib Pango Atk Gdk Gtk Gtk.DotNet Glade Art Gnome.Vfs Gnome GConf GConf.PropertyEditors Rsvg Vte
|
2005-05-23 20:41:51 +00:00
|
|
|
|
2004-03-30 22:32:46 +00:00
|
|
|
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
|
2005-05-23 20:41:51 +00:00
|
|
|
|