gnome-power-manager: temporarily nuke manpage install to fix build
This commit is contained in:
parent
6710d1804a
commit
e3eaf6d78c
1 changed files with 28 additions and 0 deletions
|
@ -37,3 +37,31 @@ Add_dependency build intltool
|
||||||
Add_dependency build gnome-doc-utils
|
Add_dependency build gnome-doc-utils
|
||||||
Add_dependency build gtk+3-devel
|
Add_dependency build gtk+3-devel
|
||||||
Add_dependency build upower-devel
|
Add_dependency build upower-devel
|
||||||
|
|
||||||
|
pre_configure()
|
||||||
|
{
|
||||||
|
if [ "$version" = "3.2.1" ]; then
|
||||||
|
sed -i -e "s|^ gnome-power-manager.sgml \\$||" \
|
||||||
|
${wrksrc}/man/Makefile.am
|
||||||
|
|
||||||
|
sed -i -e "s|^ gnome-power-statistics.sgml$||" ${wrksrc}/man/Makefile.am
|
||||||
|
|
||||||
|
sed -i -e "s|^ gnome-power-manager.1 \\$||" \
|
||||||
|
${wrksrc}/man/Makefile.am
|
||||||
|
|
||||||
|
sed -i -e "s|^ gnome-power-statistics.1$||" ${wrksrc}/man/Makefile.am
|
||||||
|
|
||||||
|
sed -i -e "s|^gnome-power-manager.1: gnome-power-manager.sgml$||" \
|
||||||
|
${wrksrc}/man/Makefile.am
|
||||||
|
|
||||||
|
sed -i -e "s|^gnome-power-statistics.1: gnome-power-statistics.sgml$||" \
|
||||||
|
${wrksrc}/man/Makefile.am
|
||||||
|
|
||||||
|
sed -i -e "s|docbook2man \$\? \&\> \/dev\/null||g" ${wrksrc}/man/Makefile.am
|
||||||
|
|
||||||
|
sed -i -e "s|\\\||g" ${wrksrc}/man/Makefile.am
|
||||||
|
|
||||||
|
rm ${wrksrc}/man/gnome-power-*.sgml
|
||||||
|
fi
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue