Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117011 - graphviz-2.6 installs docs in /usr/share/graphviz/doc/ and /usr/share/doc/graphviz-2.6/
Summary: graphviz-2.6 installs docs in /usr/share/graphviz/doc/ and /usr/share/doc/gra...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-28 11:54 UTC by Chris Mayo
Modified: 2006-01-22 11:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2005-12-28 11:54:28 UTC
graphviz-2.6 installs docs in /usr/share/graphviz/doc/ and /usr/share/doc/graphviz-2.6/. It also creates an extra doc level for html files /usr/share/doc/graphviz-2.6/html/doc, which breaks some of the links in html/index.html. Zipping the pdf's also breaks links from index.html. This can all be made consistent by changing src_install to:

src_install() {
	sed -i "s:htmldir:infodir:g" doc/info/Makefile
	make DESTDIR=${D} \
		txtdir=/usr/share/doc/${PF} \
		htmldir=/usr/share/doc/${PF}/html \
		infodir=/usr/share/doc/${PF}/html/info \
		pdfdir=/usr/share/doc/${PF}/pdf \
		pkgconfigdir=/usr/$(get_libdir)/pkgconfig \
		install || die "Install Failed!"
}
Comment 1 Chris Mayo 2006-01-10 09:45:30 UTC
Better to rename to htmlinfodir instead of infodir:

src_install() {
	sed -i "s:htmldir:htmlinfodir:g" doc/info/Makefile
	make DESTDIR=${D} \
		txtdir=/usr/share/doc/${PF} \
		htmldir=/usr/share/doc/${PF}/html \
		htmlinfodir=/usr/share/doc/${PF}/html/info \
		pdfdir=/usr/share/doc/${PF}/pdf \
		pkgconfigdir=/usr/$(get_libdir)/pkgconfig \
		install || die "Install Failed!"
}
Comment 2 Marcelo Goes (RETIRED) gentoo-dev 2006-01-22 11:22:43 UTC
In cvs. Thanks!