2002-03-13 18:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2007-04-26 10:06:36 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4 -I config
|
|
|
|
|
2008-07-11 14:06:04 +00:00
|
|
|
MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 $(srcdir)/configure \
|
|
|
|
$(srcdir)/config.h.in
|
2002-03-13 18:24:44 +00:00
|
|
|
|
2015-12-19 10:08:08 +00:00
|
|
|
DIST_SUBDIRS = 3rdparty autotests m4 config development po boost src sourcedoc lib
|
2003-05-07 16:22:01 +00:00
|
|
|
|
2007-08-11 08:48:57 +00:00
|
|
|
if BUILD_CLIENT_SUBDIR
|
|
|
|
CLIENT = src/client
|
|
|
|
endif
|
|
|
|
|
2003-05-07 16:22:01 +00:00
|
|
|
if USE_INCLUDED_BOOST
|
2007-08-11 08:48:57 +00:00
|
|
|
BOOST = boost
|
2003-05-07 16:22:01 +00:00
|
|
|
endif
|
1999-10-13 21:39:32 +00:00
|
|
|
|
2015-11-28 16:00:59 +00:00
|
|
|
SUBDIRS = autotests config development po $(BOOST) src sourcedoc lib \
|
2007-08-11 08:48:57 +00:00
|
|
|
$(CLIENT) src/tex2lyx
|
|
|
|
|
|
|
|
|
2015-05-19 08:23:12 +00:00
|
|
|
EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \
|
2012-02-19 13:13:05 +00:00
|
|
|
INSTALL.Win32 INSTALL.MacOSX INSTALL.cmake \
|
2011-12-05 23:06:36 +00:00
|
|
|
README.Win32 README.Cygwin README.localization lyx.1in \
|
2014-08-31 13:21:20 +00:00
|
|
|
autogen.sh CMakeLists.txt po/CMakeLists.txt
|
2001-07-24 23:41:31 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
man_MANS = lyx.1
|
2000-06-27 15:24:11 +00:00
|
|
|
|
2010-04-07 14:33:55 +00:00
|
|
|
#Wait some time for bumping automake 1.11, which can use dist-xz
|
|
|
|
#directly without this code, which is to be removed.
|
2010-04-12 11:39:52 +00:00
|
|
|
#xz has low compression by default, but can be affected via
|
|
|
|
#export XZ_OPT=-9ev put somewhere in the makefile.
|
2010-04-07 14:33:55 +00:00
|
|
|
lyxdist: dist
|
|
|
|
bunzip2 $(PACKAGE)-$(VERSION).tar.bz2
|
|
|
|
xz -9 $(PACKAGE)-$(VERSION).tar
|
|
|
|
ls -hl $(PACKAGE)-$(VERSION).tar.*
|
|
|
|
|
1999-10-16 14:42:03 +00:00
|
|
|
rpmdist: dist
|
2007-08-30 20:09:12 +00:00
|
|
|
$(LN_S) $(srcdir)/lib/images/lyx.png . ; \
|
2003-01-30 12:40:01 +00:00
|
|
|
if [ -z "`type -path rpmbuild`" ]; \
|
|
|
|
then \
|
|
|
|
RPMBUILD=rpm; \
|
|
|
|
else \
|
|
|
|
RPMBUILD=rpmbuild; \
|
|
|
|
fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
|
2007-08-30 20:09:12 +00:00
|
|
|
rm lyx.png; exit $$saved_status
|
1999-11-04 01:40:20 +00:00
|
|
|
|
2003-01-18 22:42:57 +00:00
|
|
|
doxydoc:
|
2013-09-09 19:00:11 +00:00
|
|
|
cd sourcedoc; $(MAKE) doxydoc
|
2002-04-26 10:32:23 +00:00
|
|
|
|
2014-02-13 12:26:18 +00:00
|
|
|
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
|
2009-05-23 12:12:32 +00:00
|
|
|
|
2009-06-15 20:20:24 +00:00
|
|
|
keystest:
|
|
|
|
development/keystest/lyx_make.sh
|
|
|
|
|
2013-09-09 19:00:11 +00:00
|
|
|
alltests: check alltests-recursive
|
|
|
|
|
|
|
|
alltests-recursive:
|
2014-05-29 12:57:05 +00:00
|
|
|
cd lib; $(MAKE) alltests-recursive
|
2013-09-09 19:00:11 +00:00
|
|
|
cd src; $(MAKE) alltests-recursive
|
|
|
|
|
|
|
|
updatetests:
|
|
|
|
cd src; $(MAKE) updatetests
|
|
|
|
|
2000-11-15 03:22:08 +00:00
|
|
|
lgbtags:
|
|
|
|
etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*
|
2001-02-12 14:09:09 +00:00
|
|
|
|
2013-09-09 19:00:11 +00:00
|
|
|
.PHONY: doxydoc alltests alltests-recursive updatetests
|
2004-05-26 16:53:50 +00:00
|
|
|
|