|
Revision 10661, 0.9 kB
(checked in by ecanuto, 2 years ago)
|
Initial Mono bindings import
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
if ENABLE_MONODOC |
|---|
| 2 |
TARGETS = midgard-sharp-docs.zip midgard-sharp-docs.tree midgard-sharp-docs.source |
|---|
| 3 |
docsdir = $(prefix)/lib/monodoc/sources |
|---|
| 4 |
docs_DATA = $(TARGETS) |
|---|
| 5 |
else |
|---|
| 6 |
TARGETS = |
|---|
| 7 |
docsdir = $(datadir) |
|---|
| 8 |
docs_DATA = |
|---|
| 9 |
endif |
|---|
| 10 |
|
|---|
| 11 |
ASSEMBLIES = ../midgard/midgard-sharp.dll |
|---|
| 12 |
|
|---|
| 13 |
UPDATE_ASSEMBLIES = $(addprefix -assembly:, $(ASSEMBLIES)) |
|---|
| 14 |
|
|---|
| 15 |
midgard-sharp-docs.zip midgard-sharp-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml |
|---|
| 16 |
$(MDASSEMBLER) --ecma $(srcdir)/en -o midgard-sharp-docs |
|---|
| 17 |
|
|---|
| 18 |
update: |
|---|
| 19 |
$(MONODOCER) $(UPDATE_ASSEMBLIES) -path:en |
|---|
| 20 |
|
|---|
| 21 |
CLEANFILES = midgard-sharp-docs.zip midgard-sharp-docs.tree |
|---|
| 22 |
|
|---|
| 23 |
EXTRA_DIST = midgard-sharp-docs.source |
|---|
| 24 |
|
|---|
| 25 |
NAMESPACES=Midgard |
|---|
| 26 |
|
|---|
| 27 |
dist-hook: |
|---|
| 28 |
mkdir -p $(distdir)/en |
|---|
| 29 |
cp $(srcdir)/en/*.xml $(distdir)/en/ |
|---|
| 30 |
for i in $(NAMESPACES); do \ |
|---|
| 31 |
mkdir -p $(distdir)/en/$$i; \ |
|---|
| 32 |
cp $(srcdir)/en/$$i/*.xml $(distdir)/en/$$i; \ |
|---|
| 33 |
done |
|---|