Blame SOURCES/0001-Makefile.am-fix-make-dist-from-tarballs.patch

0a45bd
From cadee7a6670c42cddb0869f476327285aa5b219b Mon Sep 17 00:00:00 2001
0a45bd
From: Lars Uebernickel <lars@uebernic.de>
0a45bd
Date: Mon, 30 May 2016 17:45:27 +0200
0a45bd
Subject: Makefile.am: fix make dist from tarballs
0a45bd
0a45bd
When not inside a git checkout, `make dist` echos the directories to
0a45bd
include. Tar expects them to be newline-separated.
0a45bd
0a45bd
Fixes #4494
0a45bd
---
0a45bd
 Makefile.am | 2 +-
0a45bd
 1 file changed, 1 insertion(+), 1 deletion(-)
0a45bd
0a45bd
diff --git a/Makefile.am b/Makefile.am
0a45bd
index 9ec83da..d4cfab4 100644
0a45bd
--- a/Makefile.am
0a45bd
+++ b/Makefile.am
0a45bd
@@ -255,7 +255,7 @@ COMMITTED_DIST = \
0a45bd
 
0a45bd
 # Build up the distribution using $COMMITTED_DIST and include node_modules and bower licenses
0a45bd
 dist-hook: dist-doc-hook
0a45bd
-	( cd $(srcdir); git ls-tree HEAD --name-only -r $(COMMITTED_DIST) || echo $(COMMITTED_DIST) ) | \
0a45bd
+	( cd $(srcdir); git ls-tree HEAD --name-only -r $(COMMITTED_DIST) || (echo $(COMMITTED_DIST) | tr ' ' '\n' ) ) | \
0a45bd
 		tar -C $(srcdir) -cf - -T - | tar -C $(distdir) -xf -
0a45bd
 	tar -C $(srcdir) -cf - --exclude='phantomjs*' --exclude='jshint*' node_modules/ | tar -C $(distdir) -xf -
0a45bd
 	echo $(VERSION) > $(distdir)/.tarball
0a45bd
-- 
0a45bd
1.8.3.1
0a45bd