Code

screen_help: added the artist screen hotkey
[ncmpc.git] / Makefile.am
index 3637428842112342b9d90025d3e012dd0d604fbc..9991983461d34da923189f4b26c03229135bf5ae 100644 (file)
@@ -4,11 +4,7 @@ SUBDIRS = \
   po
 
 ACLOCAL_AMFLAGS = -I m4
-AUTOMAKE_OPTIONS = gnu 1.6 dist-bzip2
-
-# $Id$
-
-docdir = $(prefix)/share/doc/$(PACKAGE)
+AUTOMAKE_OPTIONS = foreign 1.9 dist-bzip2
 
 doc_DATA = \
   AUTHORS\
@@ -18,6 +14,10 @@ doc_DATA = \
 EXTRA_DIST = \
   $(doc_DATA)
 
+# build the smalles possible ncmpc binary
+ncmpc-tiny:
+       $(MAKE) -C src $@
+
 sparse-check:
        $(MAKE) -C src $@
 
@@ -27,11 +27,10 @@ sparse-check:
 
 if ENABLE_LYRICS_SCREEN
 
-lyrics_plugin_dir = @lyrics_plugin_dir@
 lyrics_plugins = hd.sh 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)
+       cd lyrics && install -m 0755 $(lyrics_plugins) $(DESTDIR)$(lyrics_plugin_dir)
 
 endif