app-doc/devmanual: [QA] Use relative symlink target(s)
authorMichał Górny <mgorny@gentoo.org>
Tue, 22 Aug 2017 21:06:49 +0000 (23:06 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 22 Aug 2017 21:26:54 +0000 (23:26 +0200)
app-doc/devmanual/devmanual-0_pre20141116.ebuild
app-doc/devmanual/devmanual-9999.ebuild

index b06971bd01162f2ac734758562b2183ba171a7de..28cc59a11004285eab1162d900d83fb32af2b83d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -39,8 +39,8 @@ src_compile() {
 
 src_install() {
        dohtml -r *
-       einfo "Creating symlink from ${P} to ${PN} for preserving bookmarks"
-       dosym /usr/share/doc/${P} /usr/share/doc/${PN}
+       einfo "Creating symlink from ${PF} to ${PN} for preserving bookmarks"
+       dosym ${PF} /usr/share/doc/${PN}
        readme.gentoo_create_doc
 }
 
index 738cd5ef59c3c1185c6d252432bab0fdd3a55698..27453deb6185b6669b345251cb6652ae36897ffd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -33,8 +33,8 @@ src_compile() {
 
 src_install() {
        dohtml -r *
-       einfo "Creating symlink from ${P} to ${PN} for preserving bookmarks"
-       dosym /usr/share/doc/${P} /usr/share/doc/${PN}
+       einfo "Creating symlink from ${PF} to ${PN} for preserving bookmarks"
+       dosym ${PF} /usr/share/doc/${PN}
        readme.gentoo_create_doc
 }