Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 97574 | Differences between
and this patch

Collapse All | Expand All

(-)lilypond-2.7.0.ebuild (-10 / +7 lines)
Lines 5-11 Link Here
5
inherit eutils alternatives
5
inherit eutils alternatives
6
6
7
IUSE="doc"
7
IUSE="doc"
8
#IUSE=""
9
8
10
MY_PVv="v$(echo ${PV} | cut -d. -f1,2)"
9
MY_PVv="v$(echo ${PV} | cut -d. -f1,2)"
11
MY_PV="$(echo ${PV} | cut -d. -f1,2)"
10
MY_PV="$(echo ${PV} | cut -d. -f1,2)"
Lines 92-107 Link Here
92
	doins elisp/out/lilypond-words.el \
91
	doins elisp/out/lilypond-words.el \
93
		|| die "doins failed"
92
		|| die "doins failed"
94
93
95
	# vim support, should this be done differently?
94
	# For versions of Lilypond in the 2.6 branch and in the 2.7 branch prior
96
	# is done by make install
95
	# to about 2.7.31, web documentation was nicely tarballed for us.
97
	# "make web" packages all the docs into a nice tarball for us.
96
	# As of 2.7.31 or thereabouts, this tarball was no longer created,
98
	# NOTE: this is different than the way we did this in 2.4;
97
	# so now we copy all the docs by hand.
99
	# If we try it the old way, the ebuild will hang because of
100
	# circular symlink dereferencing
101
	if use doc; then
98
	if use doc; then
102
		install -d ${D}/usr/share/doc/${PN} -m 755
99
		install -d ${D}/usr/share/doc/${PN}/Documentation -m 755
103
		cd ${D}/usr/share/doc/${PN}
100
		cp -dr ${S}/out-www/web-root/Documentation/* \
104
		tar xzf ${S}/out-www/web.tar.gz
101
			${D}/usr/share/doc/${PN}/Documentation
105
	fi
102
	fi
106
}
103
}
107
104

Return to bug 97574