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