From: Max Kellermann Date: Thu, 25 Sep 2008 13:25:09 +0000 (+0200) Subject: Makefile: honor DESTDIR X-Git-Tag: v0.12_alpha1~170 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=822c07804d23e711fca6e76aa941932a94c013f7;p=ncmpc.git Makefile: honor DESTDIR When installing lyrics plugins, I forgot to honor $(DESTDIR) if set. --- diff --git a/Makefile.am b/Makefile.am index 419bd09..8024b07 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,5 +27,5 @@ lyrics_plugin_dir = @lyrics_plugin_dir@ lyrics_plugins = hd.py leoslyrics.py lyricswiki.rb install-exec-local: - install -m 0755 -d $(lyrics_plugin_dir) - install -m 0755 $(addprefix lyrics/,$(lyrics_plugins)) $(lyrics_plugin_dir) + install -m 0755 -d $(DESTDIR)$(lyrics_plugin_dir) + install -m 0755 $(addprefix lyrics/,$(lyrics_plugins)) $(DESTDIR)$(lyrics_plugin_dir)