From: Bert Vermeulen Date: Mon, 9 Dec 2013 00:40:23 +0000 (+0100) Subject: Support DESTDIR on install targets. X-Git-Tag: libsigrokdecode-0.3.0~209 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a90eeee1f0af5213f8e88788d0d2d715fad1d4c6;p=libsigrokdecode.git Support DESTDIR on install targets. Fixes bug 215. --- 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