From: Max Kellermann Date: Wed, 10 Jun 2009 22:22:58 +0000 (+0200) Subject: Makefile.am: install lyrics plugins with automake X-Git-Tag: release-0.15~65 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=81ad3820d574d1fc79b38db96f5c7b9f9ebfc80f;p=ncmpc.git Makefile.am: install lyrics plugins with automake Set $(lyrics_SCRIPTS) instead of manually installing those plugins. This is more consistent with automake, and automake gives us uninstall. --- diff --git a/Makefile.am b/Makefile.am index b1b50dc..26880ec 100644 --- a/Makefile.am +++ b/Makefile.am @@ -151,13 +151,12 @@ sparse-check: # 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 @@ -175,5 +174,5 @@ man_MANS = doc/ncmpc.1 # EXTRA_DIST = autogen.sh \ - $(addprefix lyrics/,$(lyrics_plugins)) \ + $(lyrics_plugins) \ $(man_MANS) $(doc_DATA)