summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/mpd/README1
-rw-r--r--audio/mpd/mpd.SlackBuild2
2 files changed, 2 insertions, 1 deletions
diff --git a/audio/mpd/README b/audio/mpd/README
index 4504f8b21b..4edced9482 100644
--- a/audio/mpd/README
+++ b/audio/mpd/README
@@ -12,6 +12,7 @@ Some optional and important dependencies, detected automatically:
* libmms: used for play mms:// and mmsh:// type network streams
* avahi: add support for discovering services on network
* yajl: add support for open soundcloud.com streams
+* Sphinx: used to generate man pages for mpd(1) and mpd.conf(5)
Other optional dependencies, detected automatically: libmpdclient,
musepack-tools, faad2, libsidplay2, twolame, libnfs, jack, zziplib.
diff --git a/audio/mpd/mpd.SlackBuild b/audio/mpd/mpd.SlackBuild
index f332d1be06..3a85c205a5 100644
--- a/audio/mpd/mpd.SlackBuild
+++ b/audio/mpd/mpd.SlackBuild
@@ -124,7 +124,7 @@ rm -rf $PKG/usr/share/doc
# Use sample config, without overwriting
install -D -m 644 doc/mpdconf.example $PKG/etc/mpd.conf.new
-gzip -9 $PKG/usr/man/man*/*
+[ -d $PKG/usr/man ] && gzip -9 $PKG/usr/man/man*/*
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild