diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-23 16:46:14 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-25 22:58:03 +0700 |
commit | 304ba445d13d2ca1a19651ffe8e16343907ab883 (patch) | |
tree | d7576831b701e932b54241518f25080ad33bb64f /audio/mpd | |
parent | f84a4648ae0374a36d30fd67856719fe4feb313b (diff) |
audio/mpd: Fix build when Sphinx not installed.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/mpd')
-rw-r--r-- | audio/mpd/README | 1 | ||||
-rw-r--r-- | audio/mpd/mpd.SlackBuild | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/audio/mpd/README b/audio/mpd/README index 4504f8b21b32..4edced9482ec 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 f332d1be068e..3a85c205a533 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 |