1 AUTOMAKE_OPTIONS = foreign
2 DISTCLEANFILES = -r *.orig *.rej *~ *.bak lyx.1 core \
3 config.status config.cache config.log \
4 $(srcdir)/sourcedoc/*~ \
5 $(srcdir)/sourcedoc/html $(srcdir)/sourcedoc/latex \
6 $(srcdir)/sourcedoc/man $(srcdir)/sourcedoc/Doxyfile
7 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/aclocal.m4 \
8 $(srcdir)/configure $(srcdir)/development/lyx.spec \
9 $(srcdir)/acinclude.m4 $(srcdir)/sourcedoc/Doxyfile
10 SUBDIRS = intl po sigc++ boost src lib
12 EXTRA_DIST = ANNOUNCE INSTALL.OS2 INSTALL.autoconf README.OS2 \
13 UPGRADING lyx.man acconfig.h autogen.sh \
14 config development forms images sourcedoc
16 #ETAGS_ARGS = --language-force=c++
21 bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz
24 cp -p $(srcdir)/lyx.man lyx.1
27 cd $(distdir) ; rm -rf `find config -name \*CVS\*` ; \
28 rm -rf `find development -name \*CVS\*` ; \
29 rm -rf `find forms -name \*CVS\*` ; \
30 rm -rf `find images -name \*CVS\*`
33 ln -s lib/images/lyx.xpm . ; \
34 rpm -ta ${PACKAGE}-${VERSION}.tar.gz ; saved_status=$$?; \
35 rm lyx.xpm; exit $$saved_status
40 if test -f README.bin ; then \
41 $(INSTALL) README.bin $(bindistdir)/README.bin ; \
43 $(MAKE) $(AM_MAKEFLAGS) install-strip prefix=`pwd`/$(bindistdir)
44 (cd $(bindistdir) ; tar cf - .) | gzip >$(bindistfile)
46 @if test -f README.bin ; then \
47 echo "*** Did you remember to check the contents of README.bin?" ; \
49 echo "*** WARNING: You did not provide a README.bin file." ; \
50 echo "*** Please make one now from the example file" ; \
51 echo "*** development/tools/README.bin.example" ; \
53 @echo "*** It should mention any problem concerning your binary"
54 @echo "*** distribution and refer to *you* in case of problem."
55 @echo "*** $(bindistfile) has been created."
58 doxydoc: sourcedoc/Doxyfile
62 sourcedoc/Doxyfile: sourcedoc/Doxyfile.in config.status
64 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
67 etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*