Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install docs #4

Closed
flying-sheep opened this issue Oct 2, 2014 · 7 comments
Closed

install docs #4

flying-sheep opened this issue Oct 2, 2014 · 7 comments

Comments

@flying-sheep
Copy link

install.sh doesn’t install doc/ as /usr/share/doc/rust/html/ like one would expect

@michaelsproul
Copy link
Owner

Interesting, I'll add a temporary patch until rust-lang/rust#14916 is resolved.

@flying-sheep
Copy link
Author

Usually HTML docs get installed to /usr/share/doc//html/ AFAIK
Am 03.10.2014 21:43 schrieb "Michael Sproul" notifications@github.com:

Closed #4
#4 via
e5bb9b4
e5bb9b4
.


Reply to this email directly or view it on GitHub
#4 (comment)
.

@michaelsproul
Copy link
Owner

In lieu of other documentation I figured we may as well skip the superfluous subdirectory. Perhaps I should change it in preparation for PDF and other docs...

@flying-sheep
Copy link
Author

well, some have it and some don’t. those who don’t tend to have only a single README.html or similar:

for docdir in /usr/share/doc/*; do
    if [[ -n "$(find "$docdir" -iname '*.html' -print -quit)" ]]; then
        if [[ -d "$docdir/html" ]]; then
            echo -e "$docdir/\e[0;32mhtml\e[0m"
        else
            echo "$docdir"
        fi
    fi
done

yields for me:

/usr/share/doc/aria2
/usr/share/doc/bash
/usr/share/doc/cairomm-1.0
/usr/share/doc/chemical-mime-data
/usr/share/doc/clang/html
/usr/share/doc/cln
/usr/share/doc/dar/html
/usr/share/doc/dbus
/usr/share/doc/dbusmenu-qt
/usr/share/doc/ffmpeg
/usr/share/doc/fontconfig
/usr/share/doc/fontforge
/usr/share/doc/gc
/usr/share/doc/ghc/html
/usr/share/doc/git-cola/html
find: "/usr/share/doc/google-chrome-stable": Keine Berechtigung
/usr/share/doc/haskell-utf8-string/html
/usr/share/doc/icedtea-web
/usr/share/doc/inputproto
/usr/share/doc/java8-openjdk
/usr/share/doc/kde/html
/usr/share/doc/lame/html
/usr/share/doc/libao-1.2.0
/usr/share/doc/libasyncns
/usr/share/doc/libcdr/html
/usr/share/doc/libdaemon
/usr/share/doc/libdbusmenu-qt5-doc
/usr/share/doc/libetonyek/html
/usr/share/doc/libkate/html
/usr/share/doc/libmspub/html
/usr/share/doc/libodfgen/html
/usr/share/doc/libogg
/usr/share/doc/libqalculate-0.9.7
/usr/share/doc/librevenge/html
/usr/share/doc/libsamplerate0-dev/html
/usr/share/doc/libsndfile1-dev/html
/usr/share/doc/libtheora-1.1.1/html
/usr/share/doc/libunistring
/usr/share/doc/libvisio/html
/usr/share/doc/libvorbis-1.3.4
/usr/share/doc/libwpd/html
/usr/share/doc/libwpg/html
/usr/share/doc/libwps/html
/usr/share/doc/libxcb
/usr/share/doc/libxkbcommon
/usr/share/doc/libxml2-2.9.1/html
/usr/share/doc/libxslt-1.1.28/html
/usr/share/doc/Linux-PAM
/usr/share/doc/lirc/html
/usr/share/doc/llvm/html
/usr/share/doc/lua
/usr/share/doc/lua51
/usr/share/doc/mcpp
/usr/share/doc/mpfr
/usr/share/doc/neon-0.30.0/html
/usr/share/doc/nodejs
/usr/share/doc/ntp4/html
/usr/share/doc/nvidia/html
/usr/share/doc/openconnect
/usr/share/doc/pcre/html
/usr/share/doc/pkg-config
/usr/share/doc/qt
/usr/share/doc/R/html
/usr/share/doc/sane
/usr/share/doc/slang
/usr/share/doc/slsh/html
/usr/share/doc/sntp
/usr/share/doc/soundtouch
/usr/share/doc/source-highlight
/usr/share/doc/tiff-4.0.3/html
/usr/share/doc/valgrind/html
/usr/share/doc/wcslib-4.23/html
/usr/share/doc/xapian-core
/usr/share/doc/xine-lib
/usr/share/doc/zita-resampler

@michaelsproul
Copy link
Owner

Solid evidence, will change.

@michaelsproul
Copy link
Owner

Done (af19a8b)

@flying-sheep
Copy link
Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants