2006-05-19 19:24:35 +00:00
|
|
|
ASSEMBLIES = \
|
|
|
|
$(top_builddir)/gstreamer-sharp/gstreamer-sharp.dll
|
|
|
|
|
|
|
|
ASSEMBLIES_BUILD = $(foreach asm,$(ASSEMBLIES),$(addprefix -assembly:,$(asm)))
|
|
|
|
|
2009-09-03 08:21:50 +00:00
|
|
|
if ENABLE_MONODOC
|
|
|
|
SOURCESDIR=$(prefix)/lib/monodoc/sources
|
|
|
|
TARGETS=gstreamer-sharp-docs.zip gstreamer-sharp-docs.tree gstreamer-sharp-docs.source
|
2006-05-19 19:24:35 +00:00
|
|
|
else
|
2009-09-03 08:21:50 +00:00
|
|
|
SOURCESDIR=$(datadir)
|
|
|
|
TARGETS=
|
2006-05-19 19:24:35 +00:00
|
|
|
endif
|
|
|
|
|
2009-09-03 08:21:50 +00:00
|
|
|
monodocdir=$(SOURCESDIR)
|
|
|
|
monodoc_DATA=$(TARGETS)
|
2006-05-19 19:24:35 +00:00
|
|
|
|
|
|
|
gstreamer-sharp-docs.zip gstreamer-sharp-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml
|
|
|
|
$(MDASSEMBLER) --ecma $(srcdir)/en -o gstreamer-sharp-docs
|
|
|
|
|
2009-04-07 12:44:30 +00:00
|
|
|
html: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml
|
|
|
|
$(MONODOCS2HTML) -source:$(srcdir)/en -dest:html
|
|
|
|
|
2006-05-19 19:24:35 +00:00
|
|
|
update: $(ASSEMBLIES)
|
2009-04-07 07:45:54 +00:00
|
|
|
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$(top_builddir)/gstreamer-sharp/glue/.libs \
|
2006-05-19 19:24:35 +00:00
|
|
|
$(MONODOCER) $(ASSEMBLIES_BUILD) -path:en -updateto:en -delete
|
|
|
|
|
|
|
|
CLEANFILES = gstreamer-sharp-docs.zip gstreamer-sharp-docs.tree
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
|
|
|
|
EXTRA_DIST = gstreamer-sharp-docs.source
|
|
|
|
|
|
|
|
dist-hook:
|
|
|
|
mkdir -p $(distdir)/en
|
|
|
|
cp $(srcdir)/en/*.xml $(distdir)/en/
|
|
|
|
mkdir -p $(distdir)/en/Gst/
|
|
|
|
cp $(srcdir)/en/Gst/*.xml $(distdir)/en/Gst/
|
2009-04-07 12:44:30 +00:00
|
|
|
|
|
|
|
distclean-local:
|
|
|
|
rm -rf html
|