]> git.lyx.org Git - lyx.git/blobdiff - Makefile.am
listerrors.lyx : Update a link.
[lyx.git] / Makefile.am
index 81ee29e1f16ab2fe17f5a7a36a2b6bf2a77c3519..efcbeca75ab881bbf43770a09291b306a2c2d65f 100644 (file)
@@ -2,8 +2,6 @@ include $(top_srcdir)/config/common.am
 
 ACLOCAL_AMFLAGS = -I m4 -I config
 
-DISTCLEANFILES += lyx.1
-
 MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 $(srcdir)/configure \
        $(srcdir)/config.h.in
 
@@ -23,12 +21,26 @@ SUBDIRS = config development intl po $(BOOST) src sourcedoc lib \
 
 EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \
        INSTALL.Win32 INSTALL.MacOSX INSTALL.scons INSTALL.cmake \
-       README.Win32 README.Cygwin README.localization lyx.man autogen.sh
+       README.Win32 README.Cygwin README.localization lyx.1in \
+       autogen.sh lib/lyx.desktop lib/images/lyx.svg
 
 man_MANS = lyx.1
 
-lyx.1:
-       cp -p $(srcdir)/lyx.man lyx.1
+if !INSTALL_WINDOWS
+if !INSTALL_MACOSX
+desktopdir = $(datadir)/applications
+desktop_DATA = lib/lyx.desktop
+endif
+endif
+
+#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.*
 
 rpmdist: dist
        $(LN_S) $(srcdir)/lib/images/lyx.png . ; \
@@ -43,6 +55,12 @@ rpmdist: dist
 doxydoc:
        cd sourcedoc; make doxydoc
 
+lfundoc:
+       development/tools/gen_lfuns.py src/LyXAction.cpp > lib/doc/LFUNs.lyx
+
+keystest:
+       development/keystest/lyx_make.sh
+
 lgbtags:
        etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*