1 AUTOMAKE_OPTIONS = foreign
2 DISTCLEANFILES = -r *.orig *.rej *~ *.bak lyx.1 core $(srcdir)/sourcedoc/*~ \
3 $(srcdir)/sourcedoc/html $(srcdir)/sourcedoc/latex \
4 $(srcdir)/sourcedoc/man $(srcdir)/sourcedoc/Doxyfile
5 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/aclocal.m4 \
6 $(srcdir)/configure $(srcdir)/development/lyx.spec \
7 $(srcdir)/acinclude.m4 $(srcdir)/sourcedoc/Doxyfile
8 SUBDIRS = intl po sigc++ boost src lib
10 EXTRA_DIST = ANNOUNCE INSTALL.OS2 INSTALL.autoconf README.OS2 \
11 UPGRADING lyx.man acconfig.h autogen.sh \
12 config development forms images sourcedoc
14 ETAGS_ARGS = --lang=c++
19 bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz
22 cp -p $(srcdir)/lyx.man lyx.1
25 cd $(distdir) ; rm -rf `find config -name \*CVS\*` ; \
26 rm -rf `find development -name \*CVS\*` ; \
27 rm -rf `find forms -name \*CVS\*` ; \
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
38 if test -f README.bin ; then \
39 $(INSTALL) README.bin $(bindistdir)/README.bin ; \
41 $(MAKE) $(AM_MAKEFLAGS) install-strip prefix=`pwd`/$(bindistdir)
42 (cd $(bindistdir) ; tar cf - .) | gzip >$(bindistfile)
44 @if test -f README.bin ; then \
45 echo "*** Did you remember to check the contents of README.bin?" ; \
47 echo "*** WARNING: You did not provide a README.bin file." ; \
48 echo "*** Please make one now from the example file" ; \
49 echo "*** development/tools/README.bin.example" ; \
51 @echo "*** It should mention any problem concerning your binary"
52 @echo "*** distribution and refer to *you* in case of problem."
53 @echo "*** $(bindistfile) has been created."
56 doxydoc: sourcedoc/Doxyfile
60 sourcedoc/Doxyfile: sourcedoc/Doxyfile.in config.status
62 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
65 etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*