From: Uwe Hermann Date: Mon, 27 Jan 2014 14:09:08 +0000 (+0100) Subject: Fix out-of-tree build. X-Git-Tag: libsigrokdecode-0.3.0~152 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4fd46107d35d7ed471e7ca0f4ad9823d1d88cc1b;p=libsigrokdecode.git Fix out-of-tree build. This fixes 'make install' and 'make dist' for out-of-tree builds. --- 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