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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
#
# Makefile.am - automake configuration file for nana.
#
AUTOMAKE_OPTIONS = gnu
MAINT_CHARSET = latin1
SUBDIRS = src test examples doc man gdb tcl emacs perf shortform
EXTRA_DIST = TODO REGISTRATION aclocal.m4 ANNOUNCE INSTALL.con \
showconfig.c PROJECTS
AWK = @AWK@
CPP = @CPP@
TAR = @TAR@
DEFS = @DEFS@
#
# The PROJECTS file is autogenerated from the info documentation
# (This should only happen on the development machine or after
# you start playing with changes to the documentation)
#
PROJECTS: doc/nana.info
info -o PROJECTS --file=nana.info --directory=./doc -n Future
#
# Configure: a variety of #define's are generated by ./configure and
# user options for things such as the action on failure. This target
# is used by configure script (or the user) to get a summary of the
# final results.
#
showconfig:
$(CPP) $(CPPFLAGS) -I$(top_srcdir)/src $(DEFS) $(top_srcdir)/showconfig.c | grep "==>"
### Support for email test result reporting is currently disabled.
#
# Send off a test report via email, due to the variety of mailers
# you might wish to modify the MAILER variable
#
#
#MAILER = mail
#DEST= gnuware@cs.ntu.edu.au
#
#check-mail: test/check.sum
# sh ./gnuware $(MAILER) $(DEST)#
#
#test/check.sum:
# -make check
check-mail:
echo "gnuware@cs.ntu.edu.au is no longer supported"
#
# Subscribe to the nana mailinglist
#
# (low volume :-))
#
subscribe:
echo "subscribe nana" | $(MAILER) nana-request@cs.ntu.edu.au
#
# various targets for the maintainer to build patches, releases, etc.
#
#dist-hook: release_tags patches
dist-hook:
echo nothing to do now
PREV_VERSION = @PREV_VERSION@
DIFF_FILE= nana-$(PREV_VERSION)-$(VERSION).diff
PREV_VERSION_TAG = `echo nana-$(PREV_VERSION) | sed -e 's/\\./-/g'`
VERSION_TAG = `echo nana-$(VERSION) | sed -e 's/\\./-/g'`
patches:
echo "Patches for nana $(PREV_VERSION) to $(VERSION)">$(DIFF_FILE)
-cvs rdiff -r $(PREV_VERSION_TAG) -r $(VERSION_TAG) . >>$(DIFF_FILE)
gzip -f -9 $(DIFF_FILE)
old-patches:
echo "Patches for nana $(PREV_VERSION) to $(VERSION)">$(DIFF_FILE)
rm -rf nana-$(PREV_VERSION) nana-$(VERSION)
gzcat nana-$(PREV_VERSION).tar.gz | tar xf -
gzcat nana-$(VERSION).tar.gz | tar xf -
-(cd nana-$(PREV_VERSION) ; diff -r -c -d \
--exclude "*.ps" --exclude "*.info*" \
. ../nana-$(VERSION)) >>$(DIFF_FILE)
gzip -f -9 $(DIFF_FILE)
release_tags:
cvs commit -m "Release nana $(VERSION)" .
cvs rtag -F "$(VERSION_TAG)" nana
|