File: Makefile.am

package info (click to toggle)
taglib-sharp 2.1.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 3,876 kB
  • sloc: cs: 29,524; sh: 594; makefile: 229
file content (59 lines) | stat: -rw-r--r-- 1,272 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
DOC_UPDATER = @MONODOCER@ -delete -pretty
DOC_ASSEMBLER = @MDASSEMBLER@ --out taglib-sharp-docs --ecma

ASSEMBLY = $(top_builddir)/src/$(ASSEMBLY_NAME).dll
SLASHDOC = $(ASSEMBLY).xml

if BUILD_DOCS
all: XmlInjector.exe

XmlInjector.exe: XmlInjector.cs
	$(MCS) -out:$@ -r:System.Xml $<

monodocdir = $(DOCDIR)
monodoc_DATA = \
	taglib-sharp-docs.zip \
	taglib-sharp-docs.tree \
	taglib-sharp-docs.source

en/index.xml: $(ASSEMBLY) $(SLASHDOC) XmlInjector.exe Package.en.xml
# monodocer will create duplicate tags if run multiple times. Delete the whole
# directory and start over.
	if [ -d en ]; then \
		rm -rf en; \
	fi
	$(DOC_UPDATER) -assembly:$(ASSEMBLY) -importslashdoc:$(SLASHDOC) -path:en > /dev/null

update-html: en
	if [ -d taglib-sharp-web-docs ]; then \
		rm -rf taglib-sharp-web-docs; \
	fi; \
	mkdir taglib-sharp-web-docs; \
	monodocs2html -o taglib-sharp-web-docs en;

taglib-sharp-docs.tree: taglib-sharp-docs.zip

taglib-sharp-docs.zip: en/index.xml
	$(DOC_ASSEMBLER) en

clean-local:
	if [ -d en ]; then \
		rm -rf en; \
	fi

endif

EXTRA_DIST = \
	taglib-sharp-docs.source \
	XmlInjector.cs \
	Package.en.xml.in

DISTCLEANFILES = \
	taglib-sharp-docs.zip \
	taglib-sharp-docs.tree

MAINTAINERCLEANFILES = \
	Makefile.in

CLEANFILES = \
	XmlInjector.exe