From 4fd46107d35d7ed471e7ca0f4ad9823d1d88cc1b Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 27 Jan 2014 15:09:08 +0100 Subject: Fix out-of-tree build. This fixes 'make install' and 'make dist' for out-of-tree builds. --- Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile.am') 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 -- cgit v1.2.3-70-g09d2