https://bugs.kde.org/show_bug.cgi?id=495483

            Bug ID: 495483
           Summary: make dist BUILD_ALL_DOCS=no  fails
    Classification: Developer tools
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: flo2...@eich-krohm.de
  Target Milestone: ---

README_DEVELOPERS suggests that   make dist BUILD_ALL_DOCS=no 
can be used to build a tarball without building documentation. 
That command fails like so:

make[5]: Entering directory '/home/whatever/valgrind/docs'
Generating the text version of the FAQ ...
export XML_CATALOG_FILES=/etc/xml/catalog && \
xsltproc --nonet --xinclude --path ../docs/xml -o ./FAQ.txt
../docs/lib/vg-faq2txt.xsl ../docs/xml/FAQ.xml
/bin/bash: line 2: xsltproc: command not found
make[5]: *** [Makefile:720: FAQ.txt] Error 127

Here's the patch to make it work:

diff --git a/docs/Makefile.am b/docs/Makefile.am
index f9ba4e395..0f2816b9a 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -292,10 +292,7 @@ dist-hook: FAQ.txt html-docs man-pages print-docs
        cp print/index.pdf $(distdir)
        cp print/index.ps $(distdir)
  else
-dist-hook: FAQ.txt html-docs man-pages
-       cp -r html $(distdir)
-       cp FAQ.txt $(distdir)/..
-       cp *.1 $(distdir)
+dist-hook:
  endif

 distclean-local:

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to