| 1 |
AUTOMAKE_OPTIONS = foreign |
|---|
| 2 |
DISTCLEANFILES= *.orig *.rej *~ *.bak lyx.1 core |
|---|
| 3 |
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/aclocal.m4 \ |
|---|
| 4 |
$(srcdir)/configure $(srcdir)/development/lyx.spec \ |
|---|
| 5 |
$(srcdir)/acinclude.m4 |
|---|
| 6 |
SUBDIRS = intl po sigc++ boost src lib |
|---|
| 7 |
|
|---|
| 8 |
EXTRA_DIST = ANNOUNCE OLD-CHANGES INSTALL.OS2 INSTALL.autoconf README.OS2 \ |
|---|
| 9 |
UPGRADING lyx.man acconfig.h autogen.sh \ |
|---|
| 10 |
config development forms images |
|---|
| 11 |
ETAGS_ARGS = --lang=c++ |
|---|
| 12 |
man_MANS = lyx.1 |
|---|
| 13 |
|
|---|
| 14 |
## Needed by bindist |
|---|
| 15 |
bindistdir=lyxbin |
|---|
| 16 |
bindistfile=$(PACKAGE)-$(VERSION)-bin.tar.gz |
|---|
| 17 |
|
|---|
| 18 |
lyx.1: |
|---|
| 19 |
cp -p $(srcdir)/lyx.man lyx.1 |
|---|
| 20 |
|
|---|
| 21 |
dist-hook: |
|---|
| 22 |
cd $(distdir) ; rm -rf `find config -name \*CVS\*` ; \ |
|---|
| 23 |
rm -rf `find development -name \*CVS\*` ; \ |
|---|
| 24 |
rm -rf `find forms -name \*CVS\*` ; \ |
|---|
| 25 |
rm -rf `find images -name \*CVS\*` |
|---|
| 26 |
|
|---|
| 27 |
rpmdist: dist |
|---|
| 28 |
ln -s lib/images/lyx.xpm . ; \ |
|---|
| 29 |
rpm -ta ${PACKAGE}-${VERSION}.tar.gz ; saved_status=$$?; \ |
|---|
| 30 |
rm lyx.xpm; exit $$saved_status |
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
bindist: |
|---|
| 34 |
mkdir $(bindistdir) |
|---|
| 35 |
if test -f README.bin ; then \ |
|---|
| 36 |
$(INSTALL) README.bin $(bindistdir)/README.bin ; \ |
|---|
| 37 |
fi |
|---|
| 38 |
$(MAKE) $(AM_MAKEFLAGS) install-strip prefix=`pwd`/$(bindistdir) |
|---|
| 39 |
(cd $(bindistdir) ; tar cf - .) | gzip >$(bindistfile) |
|---|
| 40 |
rm -rf $(bindistdir) |
|---|
| 41 |
@if test -f README.bin ; then \ |
|---|
| 42 |
echo "*** Did you remember to check the contents of README.bin?" ; \ |
|---|
| 43 |
else \ |
|---|
| 44 |
echo "*** WARNING: You did not provide a README.bin file." ; \ |
|---|
| 45 |
echo "*** Please make one now from the example file" ; \ |
|---|
| 46 |
echo "*** development/tools/README.bin.example" ; \ |
|---|
| 47 |
fi |
|---|
| 48 |
@echo "*** It should mention any problem concerning your binary" |
|---|
| 49 |
@echo "*** distribution and refer to *you* in case of problem." |
|---|
| 50 |
@echo "*** $(bindistfile) has been created." |
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 |
sourcedoc: |
|---|
| 54 |
cd sourcedoc; \ |
|---|
| 55 |
doxygen ./Doxyfile |
|---|
| 56 |
|
|---|
| 57 |
lgbtags: |
|---|
| 58 |
etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/* |
|---|
| 59 |
|
|---|
| 60 |
.PHONY: sourcedoc |
|---|