aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 3fa8f41a035b0a6051766495b1e11e0f7aa0813a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
SUBDIRS = \
  src\
  doc\
  po

ACLOCAL_AMFLAGS = -I m4
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 $@

#
# lyrics plugins
#

if ENABLE_LYRICS_SCREEN

lyrics_plugins = hd.sh leoslyrics.py lyricswiki.rb

EXTRA_DIST += $(addprefix lyrics/,$(lyrics_plugins))

install-exec-local:
	install -m 0755 -d $(DESTDIR)$(lyrics_plugin_dir)
	cd lyrics && install -m 0755 $(lyrics_plugins) $(DESTDIR)$(lyrics_plugin_dir)

endif