1 include $(top_srcdir)/config/common.am
3 DISTCLEANFILES += lyx.1 config.status config.cache config.log
5 MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 \
9 DIST_SUBDIRS = m4 config development intl po boost src sourcedoc lib
12 SUBDIRS = config development intl po boost src sourcedoc lib
14 SUBDIRS = config development intl po src sourcedoc lib
17 EXTRA_DIST = ANNOUNCE INSTALL.OS2 INSTALL.autoconf README.OS2 \
18 UPGRADING lyx.man autogen.sh
20 # Hack so that the targets that use tar will also work with automake 1.4
26 bindistdir=$(PWD)/lyxbin
27 bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz
32 images/ams_arrows.xbm \
53 images/smallcaps.xpm \
63 cp -p $(srcdir)/lyx.man lyx.1
66 $(LN_S) $(srcdir)/lib/images/lyx.xpm . ; \
67 if [ -z "`type -path rpmbuild`" ]; \
72 fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
73 rm lyx.xpm; exit $$saved_status
77 $(MAKE) $(AM_MAKEFLAGS) DESTDIR=$(bindistdir) install-strip
78 if test -f $(top_srcdir)/README.bin ; then \
79 $(INSTALL) $(top_srcdir)/README.bin \
80 $(bindistdir)$(prefix)/README.bin ; \
82 (cd $(bindistdir)$(prefix) ; $(AMTAR) cf - . ) | \
83 GZIP=$(GZIP_ENV) gzip > $(bindistfile)
84 -chmod -R a+w $(bindistdir) > /dev/null 2>&1 ; rm -rf $(bindistdir)
85 @if test -f $(top_srcdir)/README.bin ; then \
86 echo "*** Did you remember to check the contents of README.bin?" ; \
88 echo "*** WARNING: You did not provide a README.bin file." ; \
89 echo "*** Please make one now from the example file" ; \
90 echo "*** development/tools/README.bin.example" ; \
92 @echo "*** It should mention any problem concerning your binary"
93 @echo "*** distribution and refer to *you* in case of problem."
94 @echo "*** $(bindistfile) has been created."
97 cd sourcedoc; make doxydoc
100 etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*
104 ACLOCAL_AMFLAGS = -I m4