Code

ncmpc version 0.12~beta1
[ncmpc.git] / Makefile.am
index 77720dd1a6a7c9b6d1b64ca2741b7afdf1af1a7b..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,12 @@ doc_DATA = \
 EXTRA_DIST = \
   $(doc_DATA)
 
+# build the smalles possible ncmpc binary
+ncmpc-tiny:
+       $(MAKE) -C src $@
+
+sparse-check:
+       $(MAKE) -C src $@
 
 #
 # lyrics plugins
@@ -25,11 +27,10 @@ EXTRA_DIST = \
 
 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