+2010-09-14 Eric Blake <eblake@redhat.com>
+
+ maint: ship .xz, not .lzma
+ * configure.ac (AM_INIT_AUTOMAKE): Prefer better file format.
+ * Makefile.maint (git-release, git-dist, prev-tarball)
+ (new-tarball, diffs): Use correct extension.
+ * HACKING: Update instructions.
+ * .gitignore: Ignore .xz files.
+
2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
doc: avoid long lines in input and output, indexing fixes.
## Makefile.maint -- Makefile rules for libtool maintainers -*-Makefile-*-
##
-## Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+## Copyright (C) 2004, 2005, 2010 Free Software Foundation, Inc.
## Written by Scott James Remnant, 2004
##
## This file is part of GNU Libtool.
.PHONY: git-release
git-release: version-check prev-tarball check-news fetch git-dist diffs web-manual
@tarname="$(PACKAGE)-$(VERSION).tar.gz"; \
- lzmaname="$(PACKAGE)-$(VERSION).tar.lzma"; \
+ xzname="$(PACKAGE)-$(VERSION).tar.xz"; \
diffname="$(PACKAGE)-$(LASTRELEASE)-$(VERSION).diff.gz"; \
echo " *** Upload $$tarname, $$tarname.sig,";\
- echo " *** $$tarname.directive.asc, $$lzmaname,";\
- echo " *** $$lzmaname.sig, $$lzmaname.directive.asc,";\
+ echo " *** $$tarname.directive.asc, $$xzname,";\
+ echo " *** $$xzname.sig, $$xzname.directive.asc,";\
echo " *** $$diffname, $$diffname.sig";\
echo " *** and $$diffname.directive.asc to either"; \
echo " *** /incoming/alpha or /incoming/ftp on ftp-upload.gnu.org."
cd $(srcdir) \
&& $(GIT) tag -s "v$(VERSION)"
## Generate signatures and directives for FSF ftp-upload:
- for suffix in gz lzma; do \
+ for suffix in gz xz; do \
ofile="$(PACKAGE)-$(VERSION).tar.$$suffix"; \
$(GPG) --detach-sign $$ofile \
&& echo "version: 1.1" > $$ofile.directive \
then echo "LASTRELEASE is not set"; exit 1; fi
@ofile="$(PACKAGE)-$(LASTRELEASE).tar.gz"; \
if test -f $$ofile; then :; \
- else ofile="$(PACKAGE)-$(LASTRELEASE).tar.lzma"; \
+ else ofile="$(PACKAGE)-$(LASTRELEASE).tar.xz"; \
if test -f $$ofile; then :; \
else echo "Cannot make diffs without $$ofile"; exit 1; fi; fi
## Make sure we have the new release tarball in the tree.
@ofile="$(PACKAGE)-$(VERSION).tar.gz"; \
if test -f $$ofile; then :; \
- else ofile="$(PACKAGE)-$(VERSION).tar.lzma"; \
+ else ofile="$(PACKAGE)-$(VERSION).tar.xz"; \
if test -f $$ofile; then :; \
else echo "Cannot make diffs without $$ofile"; exit 1; fi; fi
ntar="../$(PACKAGE)-$(VERSION).tar"; \
test -f "$$otar.gz" && otar="$$otar.gz" && ounpack="gzip"; \
test -f "$$ntar.gz" && ntar="$$ntar.gz" && nunpack="gzip"; \
- test -f "$$otar.lzma" && otar="$$otar.lzma" && ounpack="lzma"; \
- test -f "$$ntar.lzma" && ntar="$$ntar.lzma" && nunpack="zlma"; \
+ test -f "$$otar.xz" && otar="$$otar.xz" && ounpack="xz"; \
+ test -f "$$ntar.xz" && ntar="$$ntar.xz" && nunpack="xz"; \
$$ounpack -c -d "$$otar" | tar xf - \
&& $$nunpack -c -d "$$ntar" | tar xf - \
&& $(DIFF) $(DIFF_OPTIONS) \