1999-09-27 18:44:28 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
DISTCLEANFILES= *.orig *.rej *~ *.bak lyx.1 core
|
1999-10-23 23:35:37 +00:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure \
|
1999-10-25 21:51:41 +00:00
|
|
|
development/lyx.spec
|
1999-09-27 18:44:28 +00:00
|
|
|
SUBDIRS = intl po src lib
|
1999-10-13 21:39:32 +00:00
|
|
|
|
1999-10-26 15:10:07 +00:00
|
|
|
EXTRA_DIST = ANNOUNCE OLD-CHANGES INSTALL.OS2 INSTALL.autoconf README.OS2 \
|
2000-01-08 21:02:58 +00:00
|
|
|
UPGRADING lyx.man acconfig.h \
|
1999-09-27 18:44:28 +00:00
|
|
|
config development forms images
|
|
|
|
ETAGS_ARGS = --c++
|
|
|
|
man_MANS = lyx.1
|
2000-06-27 15:05:21 +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
|
|
|
|
ln -s images/lyx.xpm . ; \
|
1999-10-19 21:35:31 +00:00
|
|
|
rpm -ta ${PACKAGE}-${VERSION}.tar.gz ; \
|
1999-10-26 15:10:07 +00:00
|
|
|
rm lyx.xpm
|
1999-11-04 01:40:20 +00:00
|
|
|
|
2000-06-27 15:05:21 +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."
|
|
|
|
|
|
|
|
|