1 include $(top_srcdir)/config/common.am
3 ACLOCAL_AMFLAGS = -I m4 -I config
5 DISTCLEANFILES += lyx.1 config.status config.cache config.log
7 MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 \
10 DIST_SUBDIRS = m4 config development intl po boost src sourcedoc lib
12 if BUILD_CLIENT_SUBDIR
20 SUBDIRS = config development intl po $(BOOST) src sourcedoc lib \
24 EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \
25 INSTALL.Win32 INSTALL.MacOSX INSTALL.scons INSTALL.cmake \
26 README.Win32 README.Cygwin lyx.man autogen.sh
31 bindistdir=$(PWD)/lyxbin
32 bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz
35 cp -p $(srcdir)/lyx.man lyx.1
38 $(LN_S) $(srcdir)/lib/images/lyx.png . ; \
39 if [ -z "`type -path rpmbuild`" ]; \
44 fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
45 rm lyx.png; exit $$saved_status
49 $(MAKE) $(AM_MAKEFLAGS) DESTDIR=$(bindistdir) install-strip
50 if test -f $(top_srcdir)/README.bin ; then \
51 $(INSTALL) $(top_srcdir)/README.bin \
52 $(bindistdir)$(prefix)/README.bin ; \
54 (cd $(bindistdir)$(prefix) ; $(AMTAR) cf - . ) | \
55 GZIP=$(GZIP_ENV) gzip > $(bindistfile)
56 -chmod -R a+w $(bindistdir) > /dev/null 2>&1 ; rm -rf $(bindistdir)
57 @if test -f $(top_srcdir)/README.bin ; then \
58 echo "*** Did you remember to check the contents of README.bin?" ; \
60 echo "*** WARNING: You did not provide a README.bin file." ; \
61 echo "*** Please make one now from the example file" ; \
62 echo "*** development/tools/README.bin.example" ; \
64 @echo "*** It should mention any problem concerning your binary"
65 @echo "*** distribution and refer to *you* in case of problem."
66 @echo "*** $(bindistfile) has been created."
69 cd sourcedoc; make doxydoc
72 etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*