summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-04-01 21:23:22 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-06-11 12:40:53 +0200
commitcbfb815cd8b1c0214348756822f5fd6d6b6c5de1 (patch)
treee716889cf77051bedc07db2706da5f9eaa44eaaa /Makefile.in
parent383e59fe23c296417824d9e56f1d517cc171ee4f (diff)
downloadptxdist-cbfb815cd8b1c0214348756822f5fd6d6b6c5de1.tar.gz
ptxdist-cbfb815cd8b1c0214348756822f5fd6d6b6c5de1.tar.xz
[make dist] build a single tarball containing ptxdist and patches
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in27
1 files changed, 7 insertions, 20 deletions
diff --git a/Makefile.in b/Makefile.in
index d5f724e92..f312f964d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -75,29 +75,16 @@ install: all dirty-check
dist: dirty-check
@rm -rf "$(project)"
- @git archive "$(project)" --prefix="$(project)"/ | tar x
-
+ @git archive "$(project)" --prefix="$(project)"/ > "${project}.tar"
+ tar xf "${project}.tar"
echo -n "${version}" > "${project}/.tarball-version"
cd "$(project)" && ./autogen.sh
- tar -cz \
- --exclude ".git" \
- --exclude ".pc" \
- --exclude ".svn" \
- --exclude "$(project)/autom4te.cache" \
- --exclude "$(project)/patches" \
- -f "$(project).tgz" \
- "$(project)"
- md5sum "$(project).tgz" > "$(project).tgz.md5"
-
- tar -cz \
- --exclude ".git" \
- --exclude ".pc" \
- --exclude ".svn" \
- --exclude "$(project)/autom4te.cache" \
- -f "$(project)-patches.tgz" \
- "$(project)/patches"
- md5sum "$(project)-patches.tgz" > "$(project)-patches.tgz.md5"
+ tar -rf "${project}.tar" \
+ "${project}/configure" \
+ "${project}/.tarball-version"
+ bzip2 "${project}.tar"
+ md5sum "${project}.tar.bz2" > "${project}.tar.bz2.md5"
distclean: clean
rm -fr Makefile