File: 0001-Fix-build-system-for-building-docs.patch

package info (click to toggle)
taglib-sharp 2.0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,864 kB
  • sloc: cs: 29,021; sh: 625; makefile: 240
file content (47 lines) | stat: -rw-r--r-- 1,453 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
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <slomo@debian.org>
Date: Sun, 5 Feb 2012 23:26:01 +0800
Subject: Fix build system for building docs

 - Don't run XmlInjector.cs (fixes FTBFS with newer monodoc)
 - Don't include DESTDIR in monodocdir

Bug-Debian: http://bugs.debian.org/475218
---
 docs/Makefile.am |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index d719cb9..a95cca9 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -10,7 +10,7 @@ all: XmlInjector.exe
 XmlInjector.exe: XmlInjector.cs
 	$(MCS) -out:$@ -r:System.Xml $<
 
-monodocdir = $(DESTDIR)$(DOCDIR)
+monodocdir = $(DOCDIR)
 monodoc_DATA = \
 	taglib-sharp-docs.zip \
 	taglib-sharp-docs.tree \
@@ -23,7 +23,6 @@ en/index.xml: $(ASSEMBLY) $(SLASHDOC) XmlInjector.exe Package.en.xml
 		rm -rf en; \
 	fi
 	$(DOC_UPDATER) -assembly:$(ASSEMBLY) -importslashdoc:$(SLASHDOC) -path:en > /dev/null
-	$(MONO) XmlInjector.exe Package.en.xml InsertMissingValues
 
 update-html: en
 	if [ -d taglib-sharp-web-docs ]; then \
@@ -37,12 +36,6 @@ taglib-sharp-docs.tree: taglib-sharp-docs.zip
 taglib-sharp-docs.zip: en/index.xml
 	$(DOC_ASSEMBLER) en
 
-install-data-hook: XmlInjector.exe Package.en.xml
-	$(MONO) XmlInjector.exe Package.en.xml InjectMenuItem
-
-uninstall-hook: XmlInjector.exe Package.en.xml
-	$(MONO) XmlInjector.exe Package.en.xml RemoveMenuItem
-
 clean-local:
 	if [ -d en ]; then \
 		rm -rf en; \
--