[Telepathy-commits] [telepathy-spec/master] make dist: Omit git-archive pax header from tarball - dpkg-source doesn't like it

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Sep 9 08:28:49 PDT 2008


---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 8ef6dd4..4d1e63d 100644
--- a/Makefile
+++ b/Makefile
@@ -120,7 +120,7 @@ dist:
 	version="`sed -ne s'!<tp:version>\(.*\)</tp:version>!\1!p' spec/all.xml`";\
 	distname="telepathy-spec-$$version";\
 	rm -f tmp/ChangeLog "$$distname".tar "$$distname".tar.gz; \
-	$(GIT) archive --format=tar --prefix="$$distname"/ HEAD \
+	$(GIT) archive --format=tar --prefix="$$distname"/ "HEAD^{tree}" \
 		> "$$distname".tar;\
 	rm -rf tmp/"$$distname";\
 	mkdir tmp/"$$distname";\
-- 
1.5.6.3



More information about the Telepathy-commits mailing list