[Portland-bugs] [Bug 101616] New: Please add check for xmlto in xdg utils
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jun 28 03:15:17 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101616
Bug ID: 101616
Summary: Please add check for xmlto in xdg utils
Product: Portland
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
Assignee: portland-bugs at lists.freedesktop.org
Reporter: cynthia.m.rempel at gmail.com
Ran
./configure --prefix=/home/rfirstaid/xdg-utils/install
make
Got
make[1]: Entering directory '/home/rfirstaid/xdg-utils/scripts'
(cd html;/usr/bin/xmlto html-nochunks ../desc/xdg-desktop-menu.xml)
/bin/sh: 1: /usr/bin/xmlto: not found
Makefile:111: recipe for target 'html/xdg-desktop-menu.html' failed
make[1]: *** [html/xdg-desktop-menu.html] Error 127
make[1]: Leaving directory '/home/rfirstaid/xdg-utils/scripts'
Makefile:25: recipe for target 'scripts' failed
make: *** [scripts] Error 2
Please add check to configure.ac like:
# Check for xmlto (for html documentation, needed only for development)
AC_CHECK_PROGS([XMLTO], [$XMLTO xmlto], [:])
if test "$XMLTO" = ":"; then
AC_MSG_WARN([xmlto not found, html documentation will not be rebuilt.])
fi
Then only build html target if there is xmlto...
Thanks!
Cindy
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/portland-bugs/attachments/20170628/12385e20/attachment.html>
More information about the Portland-bugs
mailing list