]> git.lyx.org Git - lyx.git/commitdiff
Let automake create the tar.xz archive
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 13 Jul 2019 16:58:36 +0000 (18:58 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 13 Jul 2019 17:01:30 +0000 (19:01 +0200)
We require automake 1.14 these days, and it can do it by itself.

Makefile.am
configure.ac

index af9260dfba5afac5ed87dc5ca5d81b9690664639..07fbce50da2dd52f5dc63bbb1969dd0333661fee 100644 (file)
@@ -23,14 +23,8 @@ EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \
 
 man_MANS = lyx.1
 
-#Wait some time for bumping automake 1.11, which can use dist-xz
-#directly without this code, which is to be removed.
-#xz has low compression by default, but can be affected via
-#export XZ_OPT=-9ev put somewhere in the makefile.
-lyxdist: dist
-       bunzip2 $(PACKAGE)-$(VERSION).tar.bz2
-       xz -9 $(PACKAGE)-$(VERSION).tar
-       ls -hl $(PACKAGE)-$(VERSION).tar.*
+# Set high compression level for xz distribution
+XZ_OPT=-9ev
 
 rpmdist: dist
        $(LN_S) $(srcdir)/lib/images/lyx.png . ; \
index fb7efb165623e5fa13b566300ac0e80f062ee33c..686f36d09b0f2f901b52a1ca2027b2ddaa1b877b 100644 (file)
@@ -31,7 +31,7 @@ AM_SILENT_RULES([yes])
 # file names only up to 99 characters. tar-ustar selects the ustar format defined
 # by POSIX 1003.1-1988. This format is believed to be old enough to be portable.
 save_PACKAGE=$PACKAGE
-AM_INIT_AUTOMAKE([foreign dist-bzip2 no-define 1.14 tar-ustar subdir-objects])
+AM_INIT_AUTOMAKE([foreign dist-xz no-define 1.14 tar-ustar subdir-objects])
 PACKAGE=$save_PACKAGE
 
 ### Set the execute permissions of the various scripts correctly