Fix Makefile for windows instalation files
[lyx.git] / Makefile.am
blobbae4ce81e09f75dc5f9120dbeb936ba12a6dcecb
1 include $(top_srcdir)/config/common.am
3 ACLOCAL_AMFLAGS = -I m4 -I config
5 MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 $(srcdir)/configure \
6         $(srcdir)/config.h.in
8 DIST_SUBDIRS = m4 config development intl po boost src sourcedoc lib
10 if BUILD_CLIENT_SUBDIR
11 CLIENT = src/client
12 endif
14 if USE_INCLUDED_BOOST
15 BOOST = boost
16 endif
18 SUBDIRS = config development intl po $(BOOST) src sourcedoc lib \
19         $(CLIENT) src/tex2lyx
22 EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \
23         INSTALL.Win32 INSTALL.MacOSX INSTALL.scons INSTALL.cmake \
24         README.Win32 README.Cygwin README.localization lyx.1in autogen.sh
26 man_MANS = lyx.1
28 rpmdist: dist
29         $(LN_S) $(srcdir)/lib/images/lyx.png . ; \
30         if [ -z "`type -path rpmbuild`" ]; \
31         then \
32                 RPMBUILD=rpm; \
33         else \
34                 RPMBUILD=rpmbuild; \
35         fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
36         rm lyx.png; exit $$saved_status
38 doxydoc:
39         cd sourcedoc; make doxydoc
41 lgbtags:
42         etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*
44 .PHONY: doxydoc