1 AUTOMAKE_OPTIONS = foreign
2 DISTCLEANFILES= *.orig *.rej *~ *.bak lyx.1 core
3 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/aclocal.m4 \
4 $(srcdir)/configure $(srcdir)/development/lyx.spec \
6 SUBDIRS = intl po sigc++ boost src lib
8 EXTRA_DIST = ANNOUNCE OLD-CHANGES INSTALL.OS2 INSTALL.autoconf README.OS2 \
9 UPGRADING lyx.man acconfig.h \
10 config development forms images
11 ETAGS_ARGS = --lang=c++
16 bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz
19 cp -p $(srcdir)/lyx.man lyx.1
22 cd $(distdir) ; rm -rf `find config -name \*CVS\*` ; \
23 rm -rf `find development -name \*CVS\*` ; \
24 rm -rf `find forms -name \*CVS\*` ; \
25 rm -rf `find images -name \*CVS\*`
28 ln -s lib/images/lyx.xpm . ; \
29 rpm -ta ${PACKAGE}-${VERSION}.tar.gz ; saved_status=$$?; \
30 rm lyx.xpm; exit $$saved_status
35 if test -f README.bin ; then \
36 $(INSTALL) README.bin $(bindistdir)/README.bin ; \
38 $(MAKE) $(AM_MAKEFLAGS) install-strip prefix=`pwd`/$(bindistdir)
39 (cd $(bindistdir) ; tar cf - .) | gzip >$(bindistfile)
41 @if test -f README.bin ; then \
42 echo "*** Did you remember to check the contents of README.bin?" ; \
44 echo "*** WARNING: You did not provide a README.bin file." ; \
45 echo "*** Please make one now from the example file" ; \
46 echo "*** development/tools/README.bin.example" ; \
48 @echo "*** It should mention any problem concerning your binary"
49 @echo "*** distribution and refer to *you* in case of problem."
50 @echo "*** $(bindistfile) has been created."
56 doc++ -p `find ../$(top_srcdir)/src -name \*.h`