]> git.lyx.org Git - lyx.git/blob - Makefile.am
Add lyxdist target for packaging until we switch to newer automake.
[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 lyxdist: dist
31         bunzip2 $(PACKAGE)-$(VERSION).tar.bz2
32         xz -9 $(PACKAGE)-$(VERSION).tar
33         ls -hl $(PACKAGE)-$(VERSION).tar.*
34
35 rpmdist: dist
36         $(LN_S) $(srcdir)/lib/images/lyx.png . ; \
37         if [ -z "`type -path rpmbuild`" ]; \
38         then \
39                 RPMBUILD=rpm; \
40         else \
41                 RPMBUILD=rpmbuild; \
42         fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
43         rm lyx.png; exit $$saved_status
44
45 doxydoc:
46         cd sourcedoc; make doxydoc
47
48 lfundoc:
49         development/tools/gen_lfuns.py src/LyXAction.cpp > lib/doc/LFUNs.lyx
50
51 keystest:
52         development/keystest/lyx_make.sh
53
54 lgbtags:
55         etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*
56
57 .PHONY: doxydoc
58