1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
## Makefile for the toplevel directory of GNU hello.
## Copyright (C) 1997-98 Free Software Foundation, Inc.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2, or (at your option)
## any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = 1.5 gnits dist-bzip2
ACLOCAL_AMFLAGS = -I m4
MAINT_CHARSET = latin1
# previous version
ke_PRE = @ke_PRE@
EXTRA_DIST = BUGS ChangeLog.O config.rpath
SUBDIRS = contrib doc intl po src man m4 tests
# To produce a diff against the previous version, untar this version
# and the previous version in the same directory and run `make diff'.
# Only the maintainer should do this.
diffcheck:
for d in $(PACKAGE)-$(ke_PRE) $(PACKAGE)-$(VERSION) ; do \
if test ! -d $$d ; then \
if test -r $$d.tar.gz ; then \
tar -zxf $$d.tar.gz ; \
else \
echo subdir $$d does not exist. ; \
exit 1 ; \
fi ; \
fi ; \
done
diff: diffcheck
echo -e "\
To apply these patches, cd to the main directory of the package\n\
and then use \`patch -p1 < hello-XXX.diff'.\n\
Before building the programm run \`autoconf' and \`autoheader' to rebuild\n\
\`configure' and \`config.h.in'.\n\n" > \
$(PACKAGE)-$(ke_PRE)-$(VERSION).diff
-diff -rc2P --exclude=configure --exclude=config.h.in --exclude=*.info \
--exclude=*.gmo --exclude=aclocal.m4 \
$(PACKAGE)-$(ke_PRE) $(PACKAGE)-$(VERSION) >> \
$(PACKAGE)-$(ke_PRE)-$(VERSION).diff
gzip --force --best $(PACKAGE)-$(ke_PRE)-$(VERSION).diff
pot-to-trans:
# gzip < po/hello.pot \
# | uuencode -m hello-$(VERSION).pot.gz \
# | mail -s "TP-Robot hello-$(VERSION).pot" translation@iro.umontreal.ca
echo "http://www.gnu.franken.de/ke/hello/hello-$(VERSION).tar.bz2" \
| mail -s "TP-Robot hello-$(VERSION).pot" \
translation@iro.umontreal.ca
## Makefile.am ends here
|