mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 00:45:35 +00:00
c1440d52d1
* configure.in : AC_SUBST GACUTIL_FLAGS. require mono-0.95 (though it's really cvs bleeding edge.) * * AssemblyInfo.cs.in : s/pub/snk. delaysign=no. * * Makefile.am : s/pub/snk. portability fixes to csc from John Luke. Switch to GACUTIL_FLAGS. * doc/Makefile.am : don't build docs, install raw xml to the prefix. svn path=/trunk/gtk-sharp/; revision=29227
78 lines
2.3 KiB
Makefile
78 lines
2.3 KiB
Makefile
if ENABLE_MONODOC
|
|
TARGETS = gtk-sharp-docs.source
|
|
docsdir = $(datadir)/doc/gtk-sharp/xml
|
|
docs_DATA = $(TARGETS)
|
|
else
|
|
TARGETS =
|
|
docsdir = $(datadir)
|
|
docs_DATA =
|
|
endif
|
|
|
|
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
|
|
|
|
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/
|
|
mkdir -p $(distdir)/en/GLib
|
|
cp $(srcdir)/en/GLib/*.xml $(distdir)/en/GLib/
|
|
mkdir -p $(distdir)/en/Pango
|
|
cp $(srcdir)/en/Pango/*.xml $(distdir)/en/Pango/
|
|
mkdir -p $(distdir)/en/Atk
|
|
cp $(srcdir)/en/Atk/*.xml $(distdir)/en/Atk/
|
|
mkdir -p $(distdir)/en/Gdk
|
|
cp $(srcdir)/en/Gdk/*.xml $(distdir)/en/Gdk/
|
|
mkdir -p $(distdir)/en/Gtk
|
|
cp $(srcdir)/en/Gtk/*.xml $(distdir)/en/Gtk/
|
|
mkdir -p $(distdir)/en/Glade
|
|
cp $(srcdir)/en/Glade/*.xml $(distdir)/en/Glade/
|
|
mkdir -p $(distdir)/en/Art
|
|
cp $(srcdir)/en/Art/*.xml $(distdir)/en/Art/
|
|
mkdir -p $(distdir)/en/Gnome
|
|
cp $(srcdir)/en/Gnome/*.xml $(distdir)/en/Gnome/
|
|
mkdir -p $(distdir)/en/Gda
|
|
cp $(srcdir)/en/Gda/*.xml $(distdir)/en/Gda/
|
|
mkdir -p $(distdir)/en/GnomeDb
|
|
cp $(srcdir)/en/GnomeDb/*.xml $(distdir)/en/GnomeDb/
|
|
mkdir -p $(distdir)/en/Rsvg
|
|
cp $(srcdir)/en/Rsvg/*.xml $(distdir)/en/Rsvg/
|
|
mkdir -p $(distdir)/en/Vte
|
|
cp $(srcdir)/en/Vte/*.xml $(distdir)/en/Vte/
|
|
mkdir -p $(distdir)/en/GConf
|
|
cp $(srcdir)/en/GConf/*.xml $(distdir)/en/GConf/
|
|
mkdir -p $(distdir)/en/GConf.PropertyEditors
|
|
cp $(srcdir)/en/GConf.PropertyEditors/*.xml $(distdir)/en/GConf.PropertyEditors/
|
|
|
|
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/* $(DESTDIR)$(docsdir)/en/$$i; \
|
|
done
|
|
|
|
uninstall-local:
|
|
rm -rf $(DESTDIR)$(docsdir)/en
|
|
|