summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 77ee5ee)
raw | patch | inline | side by side (parent: 77ee5ee)
author | Max Kellermann <max@duempel.org> | |
Wed, 10 Jun 2009 22:22:58 +0000 (00:22 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Wed, 10 Jun 2009 22:22:58 +0000 (00:22 +0200) |
Set $(lyrics_SCRIPTS) instead of manually installing those plugins.
This is more consistent with automake, and automake gives us
uninstall.
This is more consistent with automake, and automake gives us
uninstall.
Makefile.am | patch | blob | history |
diff --git a/Makefile.am b/Makefile.am
index b1b50dc158b8b5dd63dcd615ba0969fa798025ba..26880ec53d38612e06ca7842016ec3b9c3ceffc4 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
# lyrics plugins
#
-lyrics_plugins = 01-hd.sh 02-lyricwiki.rb 03-leoslyrics.py
+lyrics_plugins = lyrics/01-hd.sh lyrics/02-lyricwiki.rb lyrics/03-leoslyrics.py
if ENABLE_LYRICS_SCREEN
-install-exec-local:
- install -m 0755 -d $(DESTDIR)$(lyrics_plugin_dir)
- cd lyrics && install -m 0755 $(lyrics_plugins) $(DESTDIR)$(lyrics_plugin_dir)
+lyricsdir = $(lyrics_plugin_dir)
+lyrics_SCRIPTS = $(lyrics_plugins)
endif
#
EXTRA_DIST = autogen.sh \
- $(addprefix lyrics/,$(lyrics_plugins)) \
+ $(lyrics_plugins) \
$(man_MANS) $(doc_DATA)