1 include $(top_srcdir)/config/common.am
3 DISTCLEANFILES += lyx.1 config.status config.cache config.log \
4 $(srcdir)/sourcedoc/*~ $(srcdir)/sourcedoc/Doxyfile
6 MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 \
10 SUBDIRS = config development intl po boost src lib
12 EXTRA_DIST = ANNOUNCE INSTALL.OS2 INSTALL.autoconf README.OS2 \
13 UPGRADING lyx.man autogen.sh \
16 # Hack so that the targets that use tar will also work with automake 1.4
22 bindistdir=$(PWD)/lyxbin
23 bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz
26 cp -p $(srcdir)/lyx.man lyx.1
30 rm -rf `find images -name \*CVS\*`
33 ln -s lib/images/lyx.xpm . ; \
34 rpm -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
35 rm lyx.xpm; exit $$saved_status
39 $(MAKE) $(AM_MAKEFLAGS) DESTDIR=$(bindistdir) install-strip
40 if test -f $(top_srcdir)/README.bin ; then \
41 $(INSTALL) $(top_srcdir)/README.bin \
42 $(bindistdir)$(prefix)/README.bin ; \
44 (cd $(bindistdir)$(prefix) ; $(AMTAR) cf - . ) | \
45 GZIP=$(GZIP_ENV) gzip > $(bindistfile)
46 -chmod -R a+w $(bindistdir) > /dev/null 2>&1 ; rm -rf $(bindistdir)
47 @if test -f $(top_srcdir)/README.bin ; then \
48 echo "*** Did you remember to check the contents of README.bin?" ; \
50 echo "*** WARNING: You did not provide a README.bin file." ; \
51 echo "*** Please make one now from the example file" ; \
52 echo "*** development/tools/README.bin.example" ; \
54 @echo "*** It should mention any problem concerning your binary"
55 @echo "*** distribution and refer to *you* in case of problem."
56 @echo "*** $(bindistfile) has been created."
58 doxydoc: sourcedoc/Doxyfile
63 rm -rf $(srcdir)/sourcedoc/html $(srcdir)/sourcedoc/latex \
64 $(srcdir)/sourcedoc/main
67 etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*