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
|
# Makefile.in -- Makefile for dictem
# Created: Mon Oct 20 17:23:29 2003 Aleksey Cheusov <vle@gmx.net>
# Copyright: 2003 Aleksey Cheusov <vle@gmx.met>
#
# 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 1, 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.,
# 675 Mass Ave, Cambridge, MA 02139, USA.
#
# $Id: Makefile.am,v 1.12 2004/11/30 15:15:05 cheusov Exp $
#
# Add a _letter_ if you change the version number and release your own version.
# Numbers are for the original author(s) only.
#bin_SCRIPTS = dictem
#man_MANS = dictem.1
lisp_LISP=dictem.el
.PHONY : cvsclean
cvsclean : distclean
rm -f Makefile.in configure aclocal.m4
rm -rf autom4te.cache stamp-h.in
.PHONY: ChangeLog
ChangeLog:
@(echo "***** Making ChangeLog..."; \
rm -f ChangeLog; \
rcs2log -i 2 -r . | \
sed ' \
s,/[^ ]*cvs[^ ]*dictem/,,g; \
s,cheusov@[^>]*,vle@gmx.net,g; \
s,\(.*\)<\([^@<>]\+\)@\([^@<>]\+\)>\(.*\),\1<\2 at \3}\4,g' \
> ChangeLog;)
cvsdist:
@( CVSROOT=`cat CVS/Root` && \
export CVSROOT && \
VERSION=$(PACKAGE_VERSION) && \
VERSION_CVS=`echo $${VERSION} | tr . -` && \
export VERSION VERSION_CVS && \
make ChangeLog && \
cp ChangeLog /tmp/dictem.ChangeLog.$${VERSION} && \
echo "***** Exporting files for dictem-$${VERSION}..." && \
cd /tmp && \
rm -rf /tmp/dictem-$${VERSION} && \
cvs export -fd dictem-$${VERSION} -r dictem-$${VERSION_CVS} dictem && \
cd dictem-$${VERSION} && \
mv /tmp/dictem.ChangeLog.$${VERSION} ChangeLog && \
autoreconf && \
automake && \
rm -rf autom4te.cache libmaa/autom4te.cache && \
chmod -R a+rX,g-w . && \
cd .. && \
echo "***** Taring and zipping dictem-$${VERSION}.tar.gz..." && \
tar cvvf dictem-$${VERSION}.tar dictem-$${VERSION} && \
gzip -9f dictem-$${VERSION}.tar && \
echo "***** Done making /tmp/dictem-$${VERSION}.tar.gz")
|