-lyx.1:
- sed -e "s/LYX_DIR_VER/$(LYX_DIR_VER)/g" \
- -e "s/LYX_USERDIR_VER/$(LYX_USERDIR_VER)/g" $(srcdir)/lyx.man > 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.*