X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=7388a4ef50654bc2d3cbcfdf266813c811e7591a;hb=f7e06dbf160aa9d26d9e23deefff835399553642;hp=828ecb74cab20a068d7a3ad328d07adcf83f2e74;hpb=0baeaadd2b01ddf81a32134af302103a62014f5d;p=lyx.git diff --git a/Makefile.am b/Makefile.am index 828ecb74ca..7388a4ef50 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,12 +2,10 @@ include $(top_srcdir)/config/common.am ACLOCAL_AMFLAGS = -I m4 -I config -DISTCLEANFILES += lyx.1 config.status config.cache config.log +MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 $(srcdir)/configure \ + $(srcdir)/config.h.in -MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 \ - $(srcdir)/configure - -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 @@ -17,18 +15,25 @@ 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.man autogen.sh + INSTALL.Win32 INSTALL.MacOSX INSTALL.cmake \ + README.Win32 README.Cygwin README.localization lyx.1in \ + autogen.sh man_MANS = lyx.1 -lyx.1: - cp -p $(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.* rpmdist: dist $(LN_S) $(srcdir)/lib/images/lyx.png . ; \ @@ -41,10 +46,26 @@ rpmdist: dist rm lyx.png; exit $$saved_status doxydoc: - cd sourcedoc; make doxydoc + cd sourcedoc; $(MAKE) doxydoc + +lfundoc: $(srcdir)/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 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