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 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 images -name \*CVS\*`
32 ln -s lib/images/lyx.xpm . ; \
33 rpm -ta ${PACKAGE}-${VERSION}.tar.gz ; saved_status=$$?; \
34 rm lyx.xpm; exit $$saved_status
39 if test -f README.bin ; then \
40 $(INSTALL) README.bin $(bindistdir)/README.bin ; \
42 $(MAKE) $(AM_MAKEFLAGS) install-strip prefix=`pwd`/$(bindistdir)
43 (cd $(bindistdir) ; tar cf - .) | gzip >$(bindistfile)
45 @if test -f README.bin ; then \
46 echo "*** Did you remember to check the contents of README.bin?" ; \
48 echo "*** WARNING: You did not provide a README.bin file." ; \
49 echo "*** Please make one now from the example file" ; \
50 echo "*** development/tools/README.bin.example" ; \
52 @echo "*** It should mention any problem concerning your binary"
53 @echo "*** distribution and refer to *you* in case of problem."
54 @echo "*** $(bindistfile) has been created."
57 doxydoc: sourcedoc/Doxyfile
61 #sourcedoc/Doxyfile: sourcedoc/Doxyfile.in config.status
62 # cd $(top_builddir) \
63 # && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
66 etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*