change default install dir for indexhtml packages

This commit is contained in:
Artem Zolochevskiy 2009-10-22 01:58:02 +03:00
parent 326d5c1f6e
commit bf16a63b2d
2 changed files with 2 additions and 3 deletions

View File

@ -296,8 +296,7 @@ mkdir -p %buildroot/usr/share/install2/slideshow
install slideshow/* %buildroot/usr/share/install2/slideshow/ install slideshow/* %buildroot/usr/share/install2/slideshow/
#indexhtml #indexhtml
%define _altdocsdir %_defaultdocdir/alt-docs %define _indexhtmldir %_defaultdocdir/indexhtml
%define _indexhtmldir %_altdocsdir/indexhtml
pushd indexhtml pushd indexhtml
mkdir -p %buildroot{%_indexhtmldir/,%_desktopdir/} mkdir -p %buildroot{%_indexhtmldir/,%_desktopdir/}
cp -r * %buildroot%_indexhtmldir/ cp -r * %buildroot%_indexhtmldir/

View File

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Version=1.0 Version=1.0
Type=Application Type=Application
Exec=xdg-open /usr/share/doc/alt-docs/indexhtml/index.html Exec=xdg-open /usr/share/doc/indexhtml/index.html
StartupNotify=false StartupNotify=false
Icon=altlinux Icon=altlinux
Name=@BRAND_FNAME@ @VERSION@ @NAME@ @STATUS@: start page Name=@BRAND_FNAME@ @VERSION@ @NAME@ @STATUS@: start page