summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2013-12-09 01:40:23 +0100
committerBert Vermeulen <bert@biot.com>2013-12-09 01:42:54 +0100
commita90eeee1f0af5213f8e88788d0d2d715fad1d4c6 (patch)
treef57645ee6a9be0006b7c4289f607af8d71e5c45d /Makefile.am
parentb098b820b2942ed6e98546ed897ca81bdedee25c (diff)
downloadlibsigrokdecode-a90eeee1f0af5213f8e88788d0d2d715fad1d4c6.tar.gz
libsigrokdecode-a90eeee1f0af5213f8e88788d0d2d715fad1d4c6.zip
Support DESTDIR on install targets.
Fixes bug 215.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index c265331..9a0a892 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -60,8 +60,8 @@ ChangeLog:
dist-hook: ChangeLog
install-decoders:
- $(MKDIR_P) $(DECODERS_DIR)
- tools/install-decoders -o $(DECODERS_DIR)
+ $(MKDIR_P) $(DESTDIR)$(DECODERS_DIR)
+ tools/install-decoders -o $(DESTDIR)$(DECODERS_DIR)
install-data-hook: install-decoders