aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-25 15:25:09 +0200
committerMax Kellermann <max@duempel.org>2008-09-25 15:25:09 +0200
commit822c07804d23e711fca6e76aa941932a94c013f7 (patch)
tree7e53e57260bf76614a385e9c85b97e8b3c7d9f96
parent3052dceb948336a0671f7bea24f8b378cae4ce30 (diff)
downloadmpd-822c07804d23e711fca6e76aa941932a94c013f7.tar.gz
mpd-822c07804d23e711fca6e76aa941932a94c013f7.tar.xz
mpd-822c07804d23e711fca6e76aa941932a94c013f7.zip
Makefile: honor DESTDIR
When installing lyrics plugins, I forgot to honor $(DESTDIR) if set.
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 419bd097c..8024b0775 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)