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
This commit is contained in:
Pavel Sanda 2010-04-07 14:33:55 +00:00
parent 421ff212cd
commit d407a15c0a

View File

@ -25,6 +25,13 @@ EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \
man_MANS = lyx.1 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 rpmdist: dist
$(LN_S) $(srcdir)/lib/images/lyx.png . ; \ $(LN_S) $(srcdir)/lib/images/lyx.png . ; \
if [ -z "`type -path rpmbuild`" ]; \ if [ -z "`type -path rpmbuild`" ]; \