Opened 10 years ago

Closed 10 years ago

#5339 closed defect (invalid)

libusb-1.0.19 documentation build fix

Reported by: christopher Owned by: blfs-book@…
Priority: normal Milestone: 7.6
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Hello,

When building the documentation it will fail due to a non existent libusb.png file.

The following sed will fix this:

sed -i "s:PROJECT_LOGO:#PROJECT_LOGO:g" -i doc/doxygen.cfg.in

Change History (1)

comment:1 by Fernando de Oliveira, 10 years ago

Resolution: invalid
Status: newclosed

Command itself has a typo: -i is included twice. And "g" is not necessary.

Although docs build produces a message

error: Project logo 'libusb.png' specified by PROJECT_LOGO does not exist!

docs are built: build does not fail.

Sed only removes error message, build continues the same.

Unfortunately, it also changes other line. Luckily, in this case it is a comment line, but care must always be taken, it could change something more important.

If the problem existed, the correct command would be:

sed "s:PROJECT_LOGO ...

or any other variant.

Note: See TracTickets for help on using tickets.