File: Makefile.am

package info (click to toggle)
lyx 2.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 121,196 kB
  • sloc: cpp: 405,401; ansic: 106,819; python: 27,007; sh: 6,826; makefile: 5,497; pascal: 2,055; perl: 1,523; objc: 1,025; tcl: 163; xml: 153; sed: 16
file content (69 lines) | stat: -rw-r--r-- 1,807 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
include $(top_srcdir)/config/common.am

ACLOCAL_AMFLAGS = -I m4 -I config

MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 $(srcdir)/configure \
	$(srcdir)/config.h.in

DIST_SUBDIRS = 3rdparty autotests m4 config development po src sourcedoc lib

if BUILD_CLIENT_SUBDIR
CLIENT = src/client
endif


SUBDIRS = autotests config development po 3rdparty src sourcedoc lib \
	$(CLIENT) src/tex2lyx src/convert


EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \
	INSTALL.Win32 INSTALL.MacOSX INSTALL.cmake \
	README.Win32 README.Cygwin README.localization lyx.1in \
	autogen.sh CMakeLists.txt po/CMakeLists.txt

man_MANS = lyx.1

#Wait some time for bumping automake 1.11, which can use dist-xz
#directly without this code, which is to be removed.
#xz has low compression by default, but can be affected via
#export XZ_OPT=-9ev put somewhere in the makefile.
lyxdist: dist
	bunzip2 $(PACKAGE)-$(VERSION).tar.bz2
	xz -9 $(PACKAGE)-$(VERSION).tar
	ls -hl $(PACKAGE)-$(VERSION).tar.*

rpmdist: dist
	$(LN_S) $(srcdir)/lib/images/lyx.png . ; \
	if [ -z "`type -path rpmbuild`" ]; \
	then \
		RPMBUILD=rpm; \
	else \
		RPMBUILD=rpmbuild; \
	fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
	rm lyx.png; exit $$saved_status

doxydoc:
	cd sourcedoc; $(MAKE) doxydoc

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

keystest:
	development/keystest/lyx_make.sh

alltests: check alltests-recursive

alltests-recursive:
	cd lib; $(MAKE) alltests-recursive
	cd src; $(MAKE) alltests-recursive

updatetests:
	cd src; $(MAKE) updatetests

lgbtags:
	etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*

.PHONY: doxydoc alltests alltests-recursive updatetests