1999-09-27 18:44:28 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
2001-04-17 00:19:49 +00:00
|
|
|
DISTCLEANFILES = -r *.orig *.rej *~ *.bak lyx.1 core $(srcdir)/sourcedoc/*~ \
|
|
|
|
$(srcdir)/sourcedoc/html $(srcdir)/sourcedoc/latex \
|
|
|
|
$(srcdir)/sourcedoc/man $(srcdir)/sourcedoc/Doxyfile
|
2000-06-12 11:27:15 +00:00
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/aclocal.m4 \
|
|
|
|
$(srcdir)/configure $(srcdir)/development/lyx.spec \
|
2001-04-17 00:19:49 +00:00
|
|
|
$(srcdir)/acinclude.m4 $(srcdir)/sourcedoc/Doxyfile
|
2000-10-02 00:55:02 +00:00
|
|
|
SUBDIRS = intl po sigc++ boost src lib
|
1999-10-13 21:39:32 +00:00
|
|
|
|
2001-06-15 14:43:54 +00:00
|
|
|
EXTRA_DIST = ANNOUNCE INSTALL.OS2 INSTALL.autoconf README.OS2 \
|
2001-01-03 15:14:49 +00:00
|
|
|
UPGRADING lyx.man acconfig.h autogen.sh \
|
2001-07-24 23:41:31 +00:00
|
|
|
config development forms images sourcedoc
|
|
|
|
|
2000-06-12 11:27:15 +00:00
|
|
|
ETAGS_ARGS = --lang=c++
|
1999-09-27 18:44:28 +00:00
|
|
|
man_MANS = lyx.1
|
2000-06-27 15:24:11 +00:00
|
|
|
|
|
|
|
## Needed by bindist
|
|
|
|
bindistdir=lyxbin
|
|
|
|
bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz
|
|
|
|
|
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
|
|
|
|
|
|
|
dist-hook:
|
|
|
|
cd $(distdir) ; rm -rf `find config -name \*CVS\*` ; \
|
|
|
|
rm -rf `find development -name \*CVS\*` ; \
|
|
|
|
rm -rf `find forms -name \*CVS\*` ; \
|
|
|
|
rm -rf `find images -name \*CVS\*`
|
1999-10-16 14:42:03 +00:00
|
|
|
|
|
|
|
rpmdist: dist
|
2000-07-27 08:55:59 +00:00
|
|
|
ln -s lib/images/lyx.xpm . ; \
|
2000-08-02 09:33:15 +00:00
|
|
|
rpm -ta ${PACKAGE}-${VERSION}.tar.gz ; saved_status=$$?; \
|
|
|
|
rm lyx.xpm; exit $$saved_status
|
1999-11-04 01:40:20 +00:00
|
|
|
|
2000-06-27 15:24:11 +00:00
|
|
|
|
|
|
|
bindist:
|
|
|
|
mkdir $(bindistdir)
|
|
|
|
if test -f README.bin ; then \
|
|
|
|
$(INSTALL) README.bin $(bindistdir)/README.bin ; \
|
|
|
|
fi
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) install-strip prefix=`pwd`/$(bindistdir)
|
|
|
|
(cd $(bindistdir) ; tar cf - .) | gzip >$(bindistfile)
|
|
|
|
rm -rf $(bindistdir)
|
|
|
|
@if test -f README.bin ; then \
|
|
|
|
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."
|
|
|
|
|
2000-09-14 17:53:12 +00:00
|
|
|
|
2001-07-24 23:41:31 +00:00
|
|
|
doxydoc: sourcedoc/Doxyfile
|
2001-02-12 14:09:09 +00:00
|
|
|
cd sourcedoc; \
|
|
|
|
doxygen ./Doxyfile
|
2000-11-15 03:22:08 +00:00
|
|
|
|
2001-04-17 00:19:49 +00:00
|
|
|
sourcedoc/Doxyfile: sourcedoc/Doxyfile.in config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
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
|
|
|
|
|
|
|
.PHONY: sourcedoc
|