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 OLD-CHANGES INSTALL.OS2 INSTALL.autoconf README.OS2 \
11 UPGRADING lyx.man acconfig.h autogen.sh \
12 config development forms images
13 ETAGS_ARGS = --lang=c++
18 bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz
21 cp -p $(srcdir)/lyx.man lyx.1
24 cd $(distdir) ; rm -rf `find config -name \*CVS\*` ; \
25 rm -rf `find development -name \*CVS\*` ; \
26 rm -rf `find forms -name \*CVS\*` ; \
27 rm -rf `find images -name \*CVS\*`
30 ln -s lib/images/lyx.xpm . ; \
31 rpm -ta ${PACKAGE}-${VERSION}.tar.gz ; saved_status=$$?; \
32 rm lyx.xpm; exit $$saved_status
37 if test -f README.bin ; then \
38 $(INSTALL) README.bin $(bindistdir)/README.bin ; \
40 $(MAKE) $(AM_MAKEFLAGS) install-strip prefix=`pwd`/$(bindistdir)
41 (cd $(bindistdir) ; tar cf - .) | gzip >$(bindistfile)
43 @if test -f README.bin ; then \
44 echo "*** Did you remember to check the contents of README.bin?" ; \
46 echo "*** WARNING: You did not provide a README.bin file." ; \
47 echo "*** Please make one now from the example file" ; \
48 echo "*** development/tools/README.bin.example" ; \
50 @echo "*** It should mention any problem concerning your binary"
51 @echo "*** distribution and refer to *you* in case of problem."
52 @echo "*** $(bindistfile) has been created."
55 sourcedoc: sourcedoc/Doxyfile
59 sourcedoc/Doxyfile: sourcedoc/Doxyfile.in config.status
61 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
64 etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*