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
79
|
diff -aur muine-0.8.3-orig/configure.in muine-0.8.3/configure.in
--- muine-0.8.3-orig/configure.in 2005-05-04 10:01:12.000000000 -0700
+++ muine-0.8.3/configure.in 2006-01-21 11:58:46.000000000 -0800
@@ -25,7 +25,7 @@
MONO_REQUIRED=1.0
GTKSHARP_REQUIRED=1.9.2
DBUSSHARP_REQUIRED=0.21
-MONODOC_REQUIRED=0.16
+MONODOC_REQUIRED=1.1.8
dnl Audio backend stuff
AC_ARG_ENABLE(xine, [ --enable-xine=[no/yes] compile with libxine support.],,enable_xine=no)
@@ -154,7 +154,11 @@
PKG_CHECK_MODULES(MONODOC, monodoc >= $MONODOC_REQUIRED, have_monodoc=yes, have_monodoc=no)
AM_CONDITIONAL(ENABLE_MONODOC, test "x$have_monodoc" = "xyes")
-AC_PATH_PROG(MONODOC, monodoc)
+AC_PATH_PROG(MDASSEMBLER, mdassembler)
+AC_PATH_PROG(MONODOCER, monodocer)
+
+MONODOC_SOURCESDIR=`pkg-config --variable=sourcesdir monodoc`
+AC_SUBST(MONODOC_SOURCESDIR)
dnl Intl
ALL_LINGUAS="az bg ca cs da de en_CA en_GB es et eu fi fr hr hu is ja ko lt ms nb nl no pl pt pt_BR ro ru rw sr sr@Latn sv zh_CN"
diff -aur muine-0.8.3-orig/doc/Makefile.am muine-0.8.3/doc/Makefile.am
--- muine-0.8.3-orig/doc/Makefile.am 2005-01-06 19:22:19.000000000 -0800
+++ muine-0.8.3/doc/Makefile.am 2006-01-21 11:56:10.000000000 -0800
@@ -1,34 +1,36 @@
if ENABLE_MONODOC
TARGETS = muine-docs.zip muine-docs.tree muine-docs.source
+ASSEMBLIES = \
+ $(top_builddir)/PluginLib/muine-plugin.dll \
+ $(top_builddir)/DBusLib/muine-dbus.dll
+
+ASSEMBLIES_BUILD = $(foreach asm,$(ASSEMBLIES),$(addprefix -assembly:,$(asm)))
+
install-data-local:
- mkdir -p $(DESTDIR)/`monodoc --get-sourcesdir`
+ mkdir -p $(DESTDIR)/$(MONODOC_SOURCESDIR)
install -m 644 $(srcdir)/muine-docs.source \
- $(DESTDIR)/`monodoc --get-sourcesdir`
+ $(DESTDIR)/$(MONODOC_SOURCESDIR)
install -m 644 muine-docs.tree \
- $(DESTDIR)/`monodoc --get-sourcesdir`
+ $(DESTDIR)/$(MONODOC_SOURCESDIR)
install -m 644 muine-docs.zip \
- $(DESTDIR)/`monodoc --get-sourcesdir`
+ $(DESTDIR)/$(MONODOC_SOURCESDIR)
uninstall-local:
- rm -f $(DESTDIR)/`monodoc --get-sourcesdir`/muine-docs.source
- rm -f $(DESTDIR)/`monodoc --get-sourcesdir`/muine-docs.tree
- rm -f $(DESTDIR)/`monodoc --get-sourcesdir`/muine-docs.zip
+ rm -f $(DESTDIR)/$(MONODOC_SOURCESDIR)/muine-docs.source
+ rm -f $(DESTDIR)/$(MONODOC_SOURCESDIR)/muine-docs.tree
+ rm -f $(DESTDIR)/$(MONODOC_SOURCESDIR)/muine-docs.zip
else
TARGETS =
endif
noinst_DATA = $(TARGETS)
-ASSEMBLER = $(MONODOC) --assemble
-UPDATER = $(MONODOC) --update
-
muine-docs.zip muine-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml
- $(ASSEMBLER) --ecma $(srcdir)/en -o muine-docs
+ $(MDASSEMBLER) --ecma $(srcdir)/en -o muine-docs
-update:
- $(UPDATER) $(top_builddir)/PluginLib/muine-plugin.dll -o ./en -f
- $(UPDATER) $(top_builddir)/DBusLib/muine-dbus.dll -o ./en -f
+update: $(ASSEMBLIES)
+ $(MONODOCER) $(ASSEMBLIES_BUILD) -path:en -updateto:en -delete
CLEANFILES = muine-docs.zip muine-docs.tree
|