]> git.lyx.org Git - lyx.git/blob - Makefile.am
Comment
[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.scons INSTALL.cmake \
24         README.Win32 README.Cygwin README.localization lyx.1in autogen.sh
25
26 man_MANS = lyx.1
27
28 #Wait some time for bumping automake 1.11, which can use dist-xz
29 #directly without this code, which is to be removed.
30 #xz has low compression by default, but can be affected via
31 #export XZ_OPT=-9ev put somewhere in the makefile.
32 lyxdist: dist
33         bunzip2 $(PACKAGE)-$(VERSION).tar.bz2
34         xz -9 $(PACKAGE)-$(VERSION).tar
35         ls -hl $(PACKAGE)-$(VERSION).tar.*
36
37 rpmdist: dist
38         $(LN_S) $(srcdir)/lib/images/lyx.png . ; \
39         if [ -z "`type -path rpmbuild`" ]; \
40         then \
41                 RPMBUILD=rpm; \
42         else \
43                 RPMBUILD=rpmbuild; \
44         fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
45         rm lyx.png; exit $$saved_status
46
47 doxydoc:
48         cd sourcedoc; make doxydoc
49
50 lfundoc:
51         development/tools/gen_lfuns.py src/LyXAction.cpp > lib/doc/LFUNs.lyx
52
53 keystest:
54         development/keystest/lyx_make.sh
55
56 lgbtags:
57         etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*
58
59 .PHONY: doxydoc
60