aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-25 16:03:44 +0200
committerMax Kellermann <max@duempel.org>2008-09-25 16:03:44 +0200
commit6fabb44f8b5d9615fd316bac87133d4b5ce69a3b (patch)
treef4f701497ff177c3924b5acc1df4ed95a0dbad04 /Makefile.am
parent9ccdbcf58f7cda5fc04b8f1a801aeb18b61e1ca9 (diff)
downloadmpd-6fabb44f8b5d9615fd316bac87133d4b5ce69a3b.tar.gz
mpd-6fabb44f8b5d9615fd316bac87133d4b5ce69a3b.tar.xz
mpd-6fabb44f8b5d9615fd316bac87133d4b5ce69a3b.zip
Makefile: don't install disabled lyrics plugins
Don't install the lyrics plugins if the lyrics screen is disabled.
Diffstat (limited to '')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 8024b0775..e4f289585 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,9 +23,13 @@ EXTRA_DIST = \
# lyrics plugins
#
+if LYRICS
+
lyrics_plugin_dir = @lyrics_plugin_dir@
lyrics_plugins = hd.py leoslyrics.py lyricswiki.rb
install-exec-local:
install -m 0755 -d $(DESTDIR)$(lyrics_plugin_dir)
install -m 0755 $(addprefix lyrics/,$(lyrics_plugins)) $(DESTDIR)$(lyrics_plugin_dir)
+
+endif