Bug 61344 - dev-util/anjuta installs duplicate documents
Bug#: 61344 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: malverian@gentoo.org Reported By: ka0ttic@gentoo.org
Component: Development
URL: 
Summary: dev-util/anjuta installs duplicate documents
Keywords:  
Status Whiteboard: 
Opened: 2004-08-23 02:25 0000
Description:   Opened: 2004-08-23 02:25 0000
Because the anjuta ebuild sets the DOCS variable, documents get installed via
dodoc AND make install.  This results in compressed docs in /usr/share/doc/${PF}
and uncompressed docs in /usr/share/doc/${PN}.

Unfortunately, there is no elegantly simple fix.  IMO, the easiest way is to
add a src_install and sed ${S}/Makefile and ${S}/doc/Makefile before calling
gnome2_src_install; then call prepalldocs (preferrably prepalldocs.new so that
the html doesn't get compressed as well).

This may or may not be worth the trouble; if this is your opinion, maybe just
remove the DOCS declaration and settle for uncompressed docs in /usr/share/doc/${PN}?

A diff against anjuta-1.2.2-r1.ebuild is attached.

PS. on an unrelated subject, is there any reason USE_DESTDIR isn't set to 1
since it's use is preferred over einstall?  Works here.

Cheers

------- Comment #1 From Aaron Walker (RETIRED) 2004-08-23 02:25:35 0000 -------
Created an attachment (id=38010) [details]
anjuta-1.2.2-r1.ebuild.diff

------- Comment #2 From Jakub Moc (RETIRED) 2005-10-09 20:28:37 0000 -------
Re-assign to maintainer.

------- Comment #3 From Philip Walls (RETIRED) 2006-02-20 11:45:39 0000 -------
Fix commited to anjuta-1.2.4-r1 which is pending stablization on all arches.
Thanks.