6ae9ed
From 3070510fac4e5462ede573b2127514483edaef36 Mon Sep 17 00:00:00 2001
6ae9ed
Message-Id: <3070510fac4e5462ede573b2127514483edaef36@dist-git>
6ae9ed
From: Michal Privoznik <mprivozn@redhat.com>
6ae9ed
Date: Mon, 8 Aug 2016 13:08:50 +0200
6ae9ed
Subject: [PATCH] docs: Distribute subsite.xsl
6ae9ed
6ae9ed
https://bugzilla.redhat.com/show_bug.cgi?id=1365004
6ae9ed
6ae9ed
So, I've ran into very interesting problem lately. When doing the
6ae9ed
following, I've encountered an error:
6ae9ed
6ae9ed
  libvirt.git $ make dist && tar -xJf libvirt-2.2.0.tar.xz && \
6ae9ed
                cd libvirt-2.2.0 && ./configure && \
6ae9ed
                rm docs/formatdomain.html && make -C docs
6ae9ed
6ae9ed
  make: Entering directory 'docs'
6ae9ed
  make: *** No rule to make target 'formatdomain.html', needed by 'web'.  Stop.
6ae9ed
  make: Leaving directory 'docs'
6ae9ed
6ae9ed
I had no idea what was going on, so I've nailed down the commit
6ae9ed
that "broke it" via running git-bisect. It was this one:
6ae9ed
7659bd9221b9dd1cdf. But that shed no more light until I realized
6ae9ed
that the commit might actually just exposed a problem we had. And
6ae9ed
guess what - I've nailed it down. Of course we are not
6ae9ed
distributing subsite.xsl that's why make prints error message.
6ae9ed
Very misleading one I must say.
6ae9ed
6ae9ed
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
6ae9ed
(cherry picked from commit e396de03f31d87f3e81c7820739951d50367ddb8)
6ae9ed
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
6ae9ed
---
6ae9ed
 docs/Makefile.am | 2 +-
6ae9ed
 1 file changed, 1 insertion(+), 1 deletion(-)
6ae9ed
6ae9ed
diff --git a/docs/Makefile.am b/docs/Makefile.am
6ae9ed
index 206ef3b..14aad83 100644
6ae9ed
--- a/docs/Makefile.am
6ae9ed
+++ b/docs/Makefile.am
6ae9ed
@@ -152,7 +152,7 @@ schema_DATA = $(wildcard $(srcdir)/schemas/*.rng)
6ae9ed
 
6ae9ed
 EXTRA_DIST=					\
6ae9ed
   apibuild.py genaclperms.pl \
6ae9ed
-  site.xsl newapi.xsl news.xsl page.xsl \
6ae9ed
+  site.xsl subsite.xsl newapi.xsl news.xsl page.xsl \
6ae9ed
   hacking1.xsl hacking2.xsl wrapstring.xsl \
6ae9ed
   $(dot_html) $(dot_html_in) $(gif) $(apihtml) $(apipng) \
6ae9ed
   $(devhelphtml) $(devhelppng) $(devhelpcss) $(devhelpxsl) \
6ae9ed
-- 
6ae9ed
2.9.2
6ae9ed