From d407a15c0a04244c10ae3510b5c8e0fcf3db9204 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Wed, 7 Apr 2010 14:33:55 +0000 Subject: [PATCH] Add lyxdist target for packaging until we switch to newer automake. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34079 a592a061-630c-0410-9148-cb99ea01b6c8 --- Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile.am b/Makefile.am index 50977a2241..2032182512 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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`" ]; \