aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended/libvirt/libvirt/0001-to-fix-build-error.patch
blob: b0148e5c8b5f6a09b3d2615683995bbae66c3408 (plain)
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 3566bcacaa6408fb8f655d1749a20b2f30e0c765 Mon Sep 17 00:00:00 2001
From: Lei Maohui <leimaohui@cn.fujitsu.com>
Date: Fri, 31 Jul 2015 03:17:07 +0900
Subject: [PATCH] to fix build error

The error likes as following

| Generating internals/command.html.tmp
| /bin/sh: line 3: internals/command.html.tmp: No such file or directory
| rm: Generating internals/locking.html.tmp
| cannot remove `internals/command.html.tmp': No such file or directory
| make[3]: *** [internals/command.html.tmp] Error 1
| make[3]: *** Waiting for unfinished jobs....

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
[ywei: rebased to libvirt-1.3.2]
Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com>
[MA: rebase to v4.3.0]
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>

---
 docs/Makefile.am | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index ce3d296..2c8180f 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -366,7 +366,7 @@ EXTRA_DIST= \
   aclperms.htmlinc \
   $(schema_DATA)
 
-acl_generated = aclperms.htmlinc
+acl.html:: $(srcdir)/aclperms.htmlinc
 
 aclperms.htmlinc: $(top_srcdir)/src/access/viraccessperm.h \
         $(top_srcdir)/scripts/genaclperms.py Makefile.am
@@ -432,8 +432,7 @@ manpages/%.html.in: manpages/%.rst
 	$(AM_V_GEN)$(MKDIR_P) `dirname $@` && \
 	  $(RST2HTML) --strict $< > $@ || { rm $@ && exit 1; }
 
-%.html.tmp: %.html.in site.xsl subsite.xsl page.xsl \
-		$(acl_generated)
+%.html.tmp: %.html.in site.xsl subsite.xsl page.xsl
 	$(AM_V_GEN)name=`echo $@ | sed -e 's/.tmp//'`; \
 	  genhtmlin=`echo $@ | sed -e 's/.tmp/.in/'`; \
 	  rst=`echo $@ | sed -e 's/.html.tmp/.rst/'`; \