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 INSTALL.Win32 \
18 INSTALL.MacOSX README.OS2 README.Win32 \
19 UPGRADING lyx.man autogen.sh
24 bindistdir=$(PWD)/lyxbin
25 bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz
30 images/ams_arrows.xbm \
51 images/smallcaps.xpm \
61 cp -p $(srcdir)/lyx.man lyx.1
64 $(LN_S) $(srcdir)/lib/images/lyx.xpm . ; \
65 if [ -z "`type -path rpmbuild`" ]; \
70 fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
71 rm lyx.xpm; exit $$saved_status
75 $(MAKE) $(AM_MAKEFLAGS) DESTDIR=$(bindistdir) install-strip
76 if test -f $(top_srcdir)/README.bin ; then \
77 $(INSTALL) $(top_srcdir)/README.bin \
78 $(bindistdir)$(prefix)/README.bin ; \
80 (cd $(bindistdir)$(prefix) ; $(AMTAR) cf - . ) | \
81 GZIP=$(GZIP_ENV) gzip > $(bindistfile)
82 -chmod -R a+w $(bindistdir) > /dev/null 2>&1 ; rm -rf $(bindistdir)
83 @if test -f $(top_srcdir)/README.bin ; then \
84 echo "*** Did you remember to check the contents of README.bin?" ; \
86 echo "*** WARNING: You did not provide a README.bin file." ; \
87 echo "*** Please make one now from the example file" ; \
88 echo "*** development/tools/README.bin.example" ; \
90 @echo "*** It should mention any problem concerning your binary"
91 @echo "*** distribution and refer to *you* in case of problem."
92 @echo "*** $(bindistfile) has been created."
95 cd sourcedoc; make doxydoc
98 etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*
102 ACLOCAL_AMFLAGS = -I m4