mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-08 07:53:17 +02:00
73 lines
1.8 KiB
Makefile
73 lines
1.8 KiB
Makefile
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))
|
|
|
|
UPDATER = $(MONODOCER) -path:en -pretty $(UPDATE_ASSEMBLIES)
|
|
|
|
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)
|
|
|
|
assemble: gtk-sharp-docs.zip gtk-sharp-docs.tree
|
|
|
|
gtk-sharp-docs.zip gtk-sharp-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml
|
|
$(MDASSEMBLER) --ecma $(srcdir)/en -o gtk-sharp-docs
|
|
|
|
get-assemblies:
|
|
echo "assumes gnome-sharp and gtk-sharp checkouts in same parent"
|
|
mkdir -p lib
|
|
cp $(top_builddir)/*/*.dll lib
|
|
cp $(top_builddir)/*/*.dll.config lib
|
|
cp $(top_builddir)/../gnome-sharp/*/*.dll lib
|
|
cp $(top_builddir)/../gnome-sharp/*/*.dll.config lib
|
|
cp $(top_builddir)/../gnome-sharp/gconf/*/*.dll lib
|
|
cp $(top_builddir)/../gnome-sharp/gconf/*/*.dll.config lib
|
|
|
|
update: get-assemblies
|
|
$(UPDATER)
|
|
|
|
update-delete: get-assemblies
|
|
$(UPDATER) --delete
|
|
|
|
CLEANFILES = gtk-sharp-docs.zip gtk-sharp-docs.tree lib
|
|
|
|
EXTRA_DIST = \
|
|
gtk-sharp-docs.source
|
|
|
|
NAMESPACES=GLib Pango Atk Gdk Gtk Gtk.DotNet Glade Art Gnome.Vfs Gnome GConf GConf.PropertyEditors Rsvg Vte
|
|
|
|
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* root@www.go-mono.com:/usr/lib/monodoc/sources/
|
|
|