]> git.lyx.org Git - lyx.git/blob - Makefile.am
Remove outdated, unmaintained build system. Still one to go ;-)
[lyx.git] / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 ACLOCAL_AMFLAGS = -I m4 -I config
4
5 MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 $(srcdir)/configure \
6         $(srcdir)/config.h.in
7
8 DIST_SUBDIRS = m4 config development intl po boost src sourcedoc lib
9
10 if BUILD_CLIENT_SUBDIR
11 CLIENT = src/client
12 endif
13
14 if USE_INCLUDED_BOOST
15 BOOST = boost
16 endif
17
18 SUBDIRS = config development intl po $(BOOST) src sourcedoc lib \
19         $(CLIENT) src/tex2lyx
20
21
22 EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \
23         INSTALL.Win32 INSTALL.MacOSX INSTALL.cmake \
24         README.Win32 README.Cygwin README.localization lyx.1in \
25         autogen.sh
26
27 man_MANS = lyx.1
28
29 #Wait some time for bumping automake 1.11, which can use dist-xz
30 #directly without this code, which is to be removed.
31 #xz has low compression by default, but can be affected via
32 #export XZ_OPT=-9ev put somewhere in the makefile.
33 lyxdist: dist
34         bunzip2 $(PACKAGE)-$(VERSION).tar.bz2
35         xz -9 $(PACKAGE)-$(VERSION).tar
36         ls -hl $(PACKAGE)-$(VERSION).tar.*
37
38 rpmdist: dist
39         $(LN_S) $(srcdir)/lib/images/lyx.png . ; \
40         if [ -z "`type -path rpmbuild`" ]; \
41         then \
42                 RPMBUILD=rpm; \
43         else \
44                 RPMBUILD=rpmbuild; \
45         fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
46         rm lyx.png; exit $$saved_status
47
48 doxydoc:
49         cd sourcedoc; make doxydoc
50
51 lfundoc:
52         development/tools/gen_lfuns.py src/LyXAction.cpp > lib/doc/LFUNs.lyx
53
54 keystest:
55         development/keystest/lyx_make.sh
56
57 lgbtags:
58         etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*
59
60 .PHONY: doxydoc
61