File: Makefile.am

package info (click to toggle)
banshee 0.11.2%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 11,976 kB
  • ctags: 9,958
  • sloc: cs: 54,529; xml: 21,240; sh: 8,835; ansic: 2,040; makefile: 1,248
file content (78 lines) | stat: -rw-r--r-- 1,875 bytes parent folder | download
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
DOC_UPDATER = @MONODOCER@ -delete
DOC_ASSEMBLER = @MDASSEMBLER@ --out banshee-docs --ecma

ASSEMBLIES = \
	$(top_builddir)/hal-sharp/hal-sharp.dll \
	$(top_builddir)/src/Banshee.Base/Banshee.Base.dll \
	$(top_builddir)/src/Banshee.Widgets/Banshee.Widgets.dll \
	$(top_builddir)/src/MusicBrainz/MusicBrainz.dll

ASSEMBLIES_BUILD = $(foreach asm,$(ASSEMBLIES),$(addprefix -assembly:,$(asm)))

if BUILD_DOCS
all: MonodocNodeConfig.exe

MonodocNodeConfig.exe: MonodocNodeConfig.cs
	mcs -out:$@ -r:System.Xml $<

monodocdir = $(DESTDIR)$(DOCDIR)
monodoc_DATA = \
	banshee-docs.zip \
	banshee-docs.tree \
	banshee-docs.source

update-docs: $(ASSEMBLIES)
	$(DOC_UPDATER) $(ASSEMBLIES_BUILD) -path:en

update-cvs:
	cd en/; \
	for i in `find . | grep \.remove$$`; do \
		name=`echo $$i | sed -e 's/.remove//g'`; \
		cvs remove $$name && rm $$i; \
	done; \
	for i in `find .`; do \
		if [ -d $$i ]; then \
			if [ ! "x`basename $$i`" = "xCVS" ]; then \
				cvs add $$i/*.xml; \
			fi \
		fi \
	done; \
	cd ..;

update-html:
	if [ -d banshee ]; then \
		rm -rf banshee; \
	fi; \
	mkdir banshee; \
	monodocs2html --source en --dest banshee; 

upload-html:
	scp -r banshee banshee@banshee-project.org:/home/banshee/public_html/files/documentation/;
	rm -rf banshee

banshee-docs.zip banshee-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml
	$(DOC_ASSEMBLER) $(srcdir)/en

install-data-hook:
	$(MONO) $(top_builddir)/docs/MonodocNodeConfig.exe --insert "Banshee Libraries" classlib-banshee $(DOCDIR)/../monodoc.xml

uninstall-hook:
	$(MONO) $(top_builddir)/docs/MonodocNodeConfig.exe --remove classlib-banshee $(DOCDIR)/../monodoc.xml
endif

EXTRA_DIST = \
	$(srcdir)/en/*.xml \
	$(srcdir)/en/*/*.xml \
	banshee-docs.source \
	MonodocNodeConfig.cs
	
DISTCLEANFILES = \
	banshee-docs.zip \
	banshee-docs.tree

MAINTAINERCLEANFILES = \
	Makefile.in

CLEANFILES = \
	MonodocNodeConfig.exe