]> granicus.if.org Git - re2c/commitdiff
configure.ac: enable xz tarballs instead of gzip by default 222/head
authorSergei Trofimovich <slyfox@gentoo.org>
Tue, 16 Oct 2018 19:36:53 +0000 (20:36 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Tue, 16 Oct 2018 19:38:44 +0000 (20:38 +0100)
`xz` compresses twice as good as `gzip` on `re2c` sources:

```
$ ls -lh *1.1.1*
4,8M re2c-1.1.1.tar.gz
2,5M re2c-1.1.1.tar.xz
```

Switch `make dist` to `xz by default. `gzip` is still available
via `make dist-gzip`.

Reported-by: rofl0r
Bug: https://github.com/skvadrik/re2c/issues/221
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
re2c/configure.ac

index eaac4086fb5bd3b45525176affac34e61d0cc5cf..e1ea7cf9921882931180cb516e42e1b22fdf3722 100644 (file)
@@ -1,5 +1,5 @@
 AC_INIT([re2c],[1.1.1],[re2c-general@lists.sourceforge.net])
-AM_INIT_AUTOMAKE([foreign subdir-objects])
+AM_INIT_AUTOMAKE([foreign subdir-objects dist-xz no-dist-gzip])
 AM_SILENT_RULES([yes])