summaryrefslogtreecommitdiff
path: root/lib/am/distdir.am
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-02-24 19:56:26 +0100
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-02-24 19:56:26 +0100
commit4147afc1cfed700fbcbefb797ae98a7ee7e5602a (patch)
treed83e540e242130c5a1d4eb1341b091cff5f7cfa7 /lib/am/distdir.am
parentd3092078407feadbd3d76e4d82c4685467d2e6d2 (diff)
parent3c3ff958e5d692ec4ce9b025821abba103cc7b94 (diff)
downloadautomake-4147afc1cfed700fbcbefb797ae98a7ee7e5602a.tar.gz
Merge branch 'lzip-support'
* lzip-support: Add lzip compression support.
Diffstat (limited to 'lib/am/distdir.am')
-rw-r--r--lib/am/distdir.am13
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/am/distdir.am b/lib/am/distdir.am
index 4e356b912..9459e7509 100644
--- a/lib/am/distdir.am
+++ b/lib/am/distdir.am
@@ -1,6 +1,6 @@
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
-## Free Software Foundation, Inc.
+## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
+## 2010 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -348,6 +348,12 @@ dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
$(am__post_remove_distdir)
+?LZIP?DIST_ARCHIVES += $(distdir).tar.lz
+.PHONY: dist-lzip
+dist-lzip: distdir
+ tardir=$(distdir) && $(am__tar) | lzip -9 -c >$(distdir).tar.lz
+ $(am__post_remove_distdir)
+
?LZMA?DIST_ARCHIVES += $(distdir).tar.lzma
.PHONY: dist-lzma
dist-lzma: distdir
@@ -380,6 +386,7 @@ dist-zip: distdir
$(am__post_remove_distdir)
?LZMA?DIST_TARGETS += dist-lzma
+?LZIP?DIST_TARGETS += dist-lzip
?XZ?DIST_TARGETS += dist-xz
?SHAR?DIST_TARGETS += dist-shar
?BZIP2?DIST_TARGETS += dist-bzip2
@@ -434,6 +441,8 @@ distcheck: dist
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lzma*) \
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
+ *.tar.lz*) \
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
*.tar.xz*) \
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
*.tar.Z*) \