diff --git a/Makefile.am b/Makefile.am
index 574d8a294ae5cdc18c3208ed38b0fc4ec987e271..b0b2f4fc0009cbc7be96d2458b79d29eac5d0d88 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
doc\
po
-AUTOMAKE_OPTIONS = foreign 1.6
-
-# $Id$
+ACLOCAL_AMFLAGS = -I m4
+AUTOMAKE_OPTIONS = gnu 1.9 dist-bzip2
docdir = $(prefix)/share/doc/$(PACKAGE)
EXTRA_DIST = \
$(doc_DATA)
+# build the smalles possible ncmpc binary
+ncmpc-tiny:
+ $(MAKE) -C src $@
+
+sparse-check:
+ $(MAKE) -C src $@
+
+#
+# lyrics plugins
+#
+
+if ENABLE_LYRICS_SCREEN
+
+lyrics_plugins = hd.sh leoslyrics.py lyricswiki.rb
+
+install-exec-local:
+ install -m 0755 -d $(DESTDIR)$(lyrics_plugin_dir)
+ cd lyrics && install -m 0755 $(lyrics_plugins) $(DESTDIR)$(lyrics_plugin_dir)
+
+endif