Commit e9e11541 authored by Stanislav Ievlev's avatar Stanislav Ievlev

- change default install dir for indexhtml packages (updated patch from azol@)

parent ef9c2e8a
...@@ -402,7 +402,7 @@ cat /etc/sysconfig/xinitrc.xfce >> /etc/sysconfig/xinitrc ...@@ -402,7 +402,7 @@ cat /etc/sysconfig/xinitrc.xfce >> /etc/sysconfig/xinitrc
%files slideshow %files slideshow
/usr/share/install2/slideshow /usr/share/install2/slideshow
%define indexhtmldir %_datadir/doc/alt-docs/indexhtml %define indexhtmldir %_defaultdocdir/indexhtml
%files indexhtml %files indexhtml
%ghost %indexhtmldir/index.html %ghost %indexhtmldir/index.html
......
...@@ -46,7 +46,7 @@ boot: ...@@ -46,7 +46,7 @@ boot:
install -m 644 design-bootloader-source/bootlogo $(datadir)/gfxboot/$(THEME) install -m 644 design-bootloader-source/bootlogo $(datadir)/gfxboot/$(THEME)
# index html page, start page for all local browsers # index html page, start page for all local browsers
INDEXHTML_DIR=$(datadir)/doc/alt-docs/indexhtml INDEXHTML_DIR=$(datadir)/doc/indexhtml
indexhtml: indexhtml:
for i in notes/index*.html components/indexhtml/*.css;do \ for i in notes/index*.html components/indexhtml/*.css;do \
install -Dpm644 $$i $(INDEXHTML_DIR)/`basename $$i`; \ install -Dpm644 $$i $(INDEXHTML_DIR)/`basename $$i`; \
......
[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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment