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