From 3566bcacaa6408fb8f655d1749a20b2f30e0c765 Mon Sep 17 00:00:00 2001 From: Lei Maohui 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 [ywei: rebased to libvirt-1.3.2] Signed-off-by: Yunguo Wei [MA: rebase to v4.3.0] Signed-off-by: Mark Asselstine --- 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/'`; \