2002-03-13 18:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2003-01-13 23:17:33 +00:00
|
|
|
DISTCLEANFILES += lyx.1 config.status config.cache config.log
|
2002-03-13 18:24:44 +00:00
|
|
|
|
|
|
|
MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 \
|
2002-12-18 09:30:00 +00:00
|
|
|
$(srcdir)/configure \
|
2002-03-20 20:23:35 +00:00
|
|
|
$(srcdir)/acinclude.m4
|
2002-03-13 18:24:44 +00:00
|
|
|
|
2004-05-26 20:26:10 +00:00
|
|
|
DIST_SUBDIRS = m4 config development intl po boost src sourcedoc lib
|
2003-05-07 16:22:01 +00:00
|
|
|
|
|
|
|
if USE_INCLUDED_BOOST
|
2004-06-09 15:46:13 +00:00
|
|
|
SUBDIRS = config development intl po boost src sourcedoc lib
|
2003-05-07 16:22:01 +00:00
|
|
|
else
|
2004-06-09 15:46:13 +00:00
|
|
|
SUBDIRS = config development intl po src sourcedoc lib
|
2003-05-07 16:22:01 +00:00
|
|
|
endif
|
1999-10-13 21:39:32 +00:00
|
|
|
|
2005-07-15 09:55:48 +00:00
|
|
|
EXTRA_DIST = ANNOUNCE INSTALL.OS2 INSTALL.autoconf INSTALL.Win32 README.OS2 \
|
|
|
|
README.Win32 UPGRADING lyx.man autogen.sh
|
2001-07-24 23:41:31 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
man_MANS = lyx.1
|
2000-06-27 15:24:11 +00:00
|
|
|
|
|
|
|
## Needed by bindist
|
2002-04-07 15:35:07 +00:00
|
|
|
bindistdir=$(PWD)/lyxbin
|
2000-06-27 15:24:11 +00:00
|
|
|
bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz
|
|
|
|
|
2004-06-09 13:14:36 +00:00
|
|
|
dist_noinst_DATA = \
|
|
|
|
images/ChangeLog \
|
|
|
|
images/README \
|
|
|
|
images/ams_arrows.xbm \
|
|
|
|
images/ams_misc.xbm \
|
|
|
|
images/ams_nrel.xbm \
|
|
|
|
images/ams_ops.xbm \
|
|
|
|
images/ams_rel.xbm \
|
|
|
|
images/arrows.xbm \
|
|
|
|
images/bop.xbm \
|
|
|
|
images/brel.xbm \
|
|
|
|
images/deco.xbm \
|
|
|
|
images/deco.xpm \
|
|
|
|
images/delim.xbm \
|
|
|
|
images/delim.xpm \
|
|
|
|
images/delim0.xpm \
|
|
|
|
images/delim1.xpm \
|
|
|
|
images/dots.xbm \
|
|
|
|
images/equation.xpm \
|
|
|
|
images/font.xbm \
|
|
|
|
images/frac.xpm \
|
|
|
|
images/greek.xbm \
|
|
|
|
images/matrix.xpm \
|
|
|
|
images/misc.xbm \
|
|
|
|
images/smallcaps.xpm \
|
|
|
|
images/space.xpm \
|
|
|
|
images/sqrt.xpm \
|
|
|
|
images/style.xbm \
|
|
|
|
images/style.xpm \
|
|
|
|
images/sub.xpm \
|
|
|
|
images/super.xpm \
|
|
|
|
images/varsz.xbm
|
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
lyx.1:
|
|
|
|
cp -p $(srcdir)/lyx.man lyx.1
|
1999-10-13 21:39:32 +00:00
|
|
|
|
1999-10-16 14:42:03 +00:00
|
|
|
rpmdist: dist
|
2004-06-09 13:14:36 +00:00
|
|
|
$(LN_S) $(srcdir)/lib/images/lyx.xpm . ; \
|
2003-01-30 12:40:01 +00:00
|
|
|
if [ -z "`type -path rpmbuild`" ]; \
|
|
|
|
then \
|
|
|
|
RPMBUILD=rpm; \
|
|
|
|
else \
|
|
|
|
RPMBUILD=rpmbuild; \
|
|
|
|
fi; $$RPMBUILD -ta $(PACKAGE)-$(VERSION).tar.gz ; saved_status=$$?; \
|
2000-08-02 09:33:15 +00:00
|
|
|
rm lyx.xpm; exit $$saved_status
|
1999-11-04 01:40:20 +00:00
|
|
|
|
2000-06-27 15:24:11 +00:00
|
|
|
bindist:
|
2002-04-07 15:35:07 +00:00
|
|
|
rm -f $(bindistfile)
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) DESTDIR=$(bindistdir) install-strip
|
|
|
|
if test -f $(top_srcdir)/README.bin ; then \
|
|
|
|
$(INSTALL) $(top_srcdir)/README.bin \
|
|
|
|
$(bindistdir)$(prefix)/README.bin ; \
|
|
|
|
fi
|
|
|
|
(cd $(bindistdir)$(prefix) ; $(AMTAR) cf - . ) | \
|
|
|
|
GZIP=$(GZIP_ENV) gzip > $(bindistfile)
|
|
|
|
-chmod -R a+w $(bindistdir) > /dev/null 2>&1 ; rm -rf $(bindistdir)
|
2002-04-08 09:42:58 +00:00
|
|
|
@if test -f $(top_srcdir)/README.bin ; then \
|
2002-04-07 15:35:07 +00:00
|
|
|
echo "*** Did you remember to check the contents of README.bin?" ; \
|
|
|
|
else \
|
|
|
|
echo "*** WARNING: You did not provide a README.bin file." ; \
|
|
|
|
echo "*** Please make one now from the example file" ; \
|
|
|
|
echo "*** development/tools/README.bin.example" ; \
|
|
|
|
fi
|
|
|
|
@echo "*** It should mention any problem concerning your binary"
|
|
|
|
@echo "*** distribution and refer to *you* in case of problem."
|
|
|
|
@echo "*** $(bindistfile) has been created."
|
|
|
|
|
2003-01-18 22:42:57 +00:00
|
|
|
doxydoc:
|
|
|
|
cd sourcedoc; make doxydoc
|
2002-04-26 10:32:23 +00:00
|
|
|
|
2000-11-15 03:22:08 +00:00
|
|
|
lgbtags:
|
|
|
|
etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*
|
2001-02-12 14:09:09 +00:00
|
|
|
|
2003-01-18 22:42:57 +00:00
|
|
|
.PHONY: doxydoc
|
2004-05-26 16:53:50 +00:00
|
|
|
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|