]> git.lyx.org Git - features.git/blobdiff - Makefile.am
Add lyxdist target for packaging until we switch to newer automake.
[features.git] / Makefile.am
index 50977a2241d80fec4c5dc1502cbebb8e08ad6e9e..203218251267ed0fbd0f1857083ec3b83b4ae020 100644 (file)
@@ -25,6 +25,13 @@ 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.
+lyxdist: dist
+       bunzip2 $(PACKAGE)-$(VERSION).tar.bz2
+       xz -9 $(PACKAGE)-$(VERSION).tar
+       ls -hl $(PACKAGE)-$(VERSION).tar.*
+
 rpmdist: dist
        $(LN_S) $(srcdir)/lib/images/lyx.png . ; \
        if [ -z "`type -path rpmbuild`" ]; \