summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-01-27 15:09:08 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-01-28 22:46:05 +0100
commit4fd46107d35d7ed471e7ca0f4ad9823d1d88cc1b (patch)
tree316169db4338145a4692a5a2c385e748241bca2e /Makefile.am
parent2de277b88e7e7ff49c5a2933da36cb28d3f79481 (diff)
downloadlibsigrokdecode-4fd46107d35d7ed471e7ca0f4ad9823d1d88cc1b.tar.gz
libsigrokdecode-4fd46107d35d7ed471e7ca0f4ad9823d1d88cc1b.zip
Fix out-of-tree build.
This fixes 'make install' and 'make dist' for out-of-tree builds.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 5227cc3..b7136a0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -59,13 +59,15 @@ ChangeLog:
dist-hook: ChangeLog
$(MKDIR_P) $(distdir)/tools
- cp tools/install-decoders $(distdir)/tools
+ cp ${top_srcdir}/tools/install-decoders $(distdir)/tools
$(MKDIR_P) $(distdir)/decoders
- tools/install-decoders -o $(distdir)/decoders
+ ${top_srcdir}/tools/install-decoders -i ${top_srcdir}/decoders \
+ -o $(distdir)/decoders
install-decoders:
$(MKDIR_P) $(DESTDIR)$(DECODERS_DIR)
- tools/install-decoders -o $(DESTDIR)$(DECODERS_DIR)
+ ${top_srcdir}/tools/install-decoders -i ${top_srcdir}/decoders \
+ -o $(DESTDIR)$(DECODERS_DIR)
install-data-hook: install-decoders