X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=ec8bbaaeb6fff5e1e30cdcdb476d31ba9ff217f8;hb=fcaf5b5fc8a0949987d7e49949f2ce0a74792008;hp=50977a2241d80fec4c5dc1502cbebb8e08ad6e9e;hpb=752099a7c55282635a686e3203a45405381c387d;p=lyx.git diff --git a/Makefile.am b/Makefile.am index 50977a2241..ec8bbaaeb6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,7 +5,7 @@ ACLOCAL_AMFLAGS = -I m4 -I config MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 $(srcdir)/configure \ $(srcdir)/config.h.in -DIST_SUBDIRS = m4 config development intl po boost src sourcedoc lib +DIST_SUBDIRS = m4 config development po boost src sourcedoc lib if BUILD_CLIENT_SUBDIR CLIENT = src/client @@ -15,16 +15,26 @@ if USE_INCLUDED_BOOST BOOST = boost endif -SUBDIRS = config development intl po $(BOOST) src sourcedoc lib \ +SUBDIRS = config development po $(BOOST) src sourcedoc lib \ $(CLIENT) src/tex2lyx EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \ - INSTALL.Win32 INSTALL.MacOSX INSTALL.scons INSTALL.cmake \ - README.Win32 README.Cygwin README.localization lyx.1in autogen.sh + INSTALL.Win32 INSTALL.MacOSX INSTALL.cmake \ + README.Win32 README.Cygwin README.localization lyx.1in \ + autogen.sh 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. +#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 . ; \ if [ -z "`type -path rpmbuild`" ]; \ @@ -36,16 +46,27 @@ rpmdist: dist rm lyx.png; exit $$saved_status doxydoc: - cd sourcedoc; make doxydoc + cd sourcedoc; $(MAKE) doxydoc + +lfundoc: $(srcdir)/lib/doc/LFUNs.lyx -lfundoc: - development/tools/gen_lfuns.py src/LyXAction.cpp > lib/doc/LFUNs.lyx +$(srcdir)/lib/doc/LFUNs.lyx: $(srcdir)/development/tools/gen_lfuns.py $(srcdir)/src/LyXAction.cpp + $(AM_V_GEN)$(PYTHON) $^ >$@ 2>/dev/null keystest: development/keystest/lyx_make.sh +alltests: check alltests-recursive + +alltests-recursive: + cd lib; $(MAKE) alltests-recursive + cd src; $(MAKE) alltests-recursive + +updatetests: + cd src; $(MAKE) updatetests + lgbtags: etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/* -.PHONY: doxydoc +.PHONY: doxydoc alltests alltests-recursive updatetests