X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=59842adfeb178316a88ea13922e79b502c066100;hb=ad4601c9eb12e847dff8e7d39fe38cd7dfd016de;hp=5bd89645604b4d88b4389fb79da74bdf3ed2f67e;hpb=225610e3e080c84d2220e366425bc35c0ee2cf26;p=lyx.git diff --git a/Makefile.am b/Makefile.am index 5bd8964560..59842adfeb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,24 +1,23 @@ include $(top_srcdir)/config/common.am +ACLOCAL_AMFLAGS = -I m4 -I config + DISTCLEANFILES += lyx.1 config.status config.cache config.log MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 \ - $(srcdir)/configure \ - $(srcdir)/acinclude.m4 + $(srcdir)/configure DIST_SUBDIRS = m4 config development intl po boost src sourcedoc lib if USE_INCLUDED_BOOST -SUBDIRS = m4 config development intl po boost src sourcedoc lib +SUBDIRS = config development intl po boost src sourcedoc lib else -SUBDIRS = m4 config development intl po src sourcedoc lib +SUBDIRS = config development intl po src sourcedoc lib endif -EXTRA_DIST = ANNOUNCE INSTALL.OS2 INSTALL.autoconf README.OS2 \ - UPGRADING lyx.man autogen.sh images - -# Hack so that the targets that use tar will also work with automake 1.4 -AMTAR ?= $(TAR) +EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \ + INSTALL.Win32 INSTALL.MacOSX INSTALL.scons INSTALL.cmake \ + README.Win32 README.Cygwin lyx.man autogen.sh man_MANS = lyx.1 @@ -29,12 +28,8 @@ bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz lyx.1: cp -p $(srcdir)/lyx.man lyx.1 -dist-hook: - cd $(distdir) ; \ - rm -rf `find images -name \*CVS\*` - rpmdist: dist - ln -s $(srcdir)/lib/images/lyx.xpm . ; \ + $(LN_S) $(srcdir)/lib/images/lyx.xpm . ; \ if [ -z "`type -path rpmbuild`" ]; \ then \ RPMBUILD=rpm; \ @@ -72,4 +67,3 @@ lgbtags: .PHONY: doxydoc -ACLOCAL_AMFLAGS = -I m4