Code

Update copyright notices
[ncmpc.git] / Makefile.am
index 3637428842112342b9d90025d3e012dd0d604fbc..af1e02091c299e58a0672863d4581a23dcb754f0 100644 (file)
@@ -4,19 +4,16 @@ 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\
   README\
   NEWS
 
-EXTRA_DIST = \
-  $(doc_DATA)
+# build the smalles possible ncmpc binary
+ncmpc-tiny:
+       $(MAKE) -C src $@
 
 sparse-check:
        $(MAKE) -C src $@
@@ -25,13 +22,14 @@ sparse-check:
 # lyrics plugins
 #
 
-if ENABLE_LYRICS_SCREEN
-
-lyrics_plugin_dir = @lyrics_plugin_dir@
 lyrics_plugins = hd.sh leoslyrics.py lyricswiki.rb
 
+EXTRA_DIST = $(addprefix lyrics/,$(lyrics_plugins))
+
+if ENABLE_LYRICS_SCREEN
+
 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