]> git.lyx.org Git - lyx.git/blob - Makefile.am
remove references to the now-dead forms directory.
[lyx.git] / Makefile.am
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
11
12 EXTRA_DIST = ANNOUNCE INSTALL.OS2 INSTALL.autoconf README.OS2 \
13         UPGRADING lyx.man acconfig.h autogen.sh \
14         config development images sourcedoc
15
16 #ETAGS_ARGS = --language-force=c++
17 man_MANS = lyx.1
18
19 ## Needed by bindist
20 bindistdir=lyxbin
21 bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz
22
23 lyx.1:
24         cp -p $(srcdir)/lyx.man lyx.1
25
26 dist-hook:
27         cd $(distdir) ; rm -rf `find config -name \*CVS\*` ; \
28         rm -rf `find development -name \*CVS\*` ; \
29         rm -rf `find images -name \*CVS\*`
30
31 rpmdist: dist
32         ln -s lib/images/lyx.xpm . ; \
33         rpm -ta ${PACKAGE}-${VERSION}.tar.gz ; saved_status=$$?; \
34         rm lyx.xpm; exit $$saved_status
35
36
37 bindist:
38         mkdir $(bindistdir)
39         if test -f README.bin ; then \
40           $(INSTALL) README.bin  $(bindistdir)/README.bin ; \
41         fi 
42         $(MAKE) $(AM_MAKEFLAGS) install-strip prefix=`pwd`/$(bindistdir)
43         (cd $(bindistdir) ; tar cf - .) | gzip >$(bindistfile)
44         rm -rf $(bindistdir)
45         @if test -f README.bin ; then \
46           echo "*** Did you remember to check the contents of README.bin?" ; \
47         else \
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" ; \
51         fi  
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."
55
56
57 doxydoc: sourcedoc/Doxyfile
58         cd sourcedoc; \
59         doxygen ./Doxyfile
60
61 sourcedoc/Doxyfile: sourcedoc/Doxyfile.in config.status
62         cd $(top_builddir) \
63         && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
64
65 lgbtags:
66         etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*
67
68 .PHONY: sourcedoc