]> sigrok.org Git - libsigrokdecode.git/commitdiff
Support DESTDIR on install targets.
authorBert Vermeulen <redacted>
Mon, 9 Dec 2013 00:40:23 +0000 (01:40 +0100)
committerBert Vermeulen <redacted>
Mon, 9 Dec 2013 00:42:54 +0000 (01:42 +0100)
Fixes bug 215.

Makefile.am

index c265331169b2512880e0bc15db5a4a01500d48fd..9a0a8924baf1fec14048ff49bbd94365d6bacbd4 100644 (file)
@@ -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