aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/dist.mk
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-08-24 01:06:48 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-08-24 01:06:48 +0000
commit0e3d540892016a47f6a68ec9ba2879d35ce5f7c2 (patch)
treead214c5b2c8142ad6dc6d2ce3a9c83e6317d7f77 /contrib/ncurses/dist.mk
downloadsrc-0e3d540892016a47f6a68ec9ba2879d35ce5f7c2.tar.gz
src-0e3d540892016a47f6a68ec9ba2879d35ce5f7c2.zip
Import unmodified (but trimmed) ncurses 5.0 prerelease 990821.vendor/ncurses/5.0-19990821
This contains the full eti (panel, form, menu) extensions. bmake glue to follow. Obtained from: ftp://ftp.clark.net/pub/dickey/ncurses
Notes
Notes: svn path=/vendor/ncurses/dist/; revision=50276 svn path=/vendor/ncurses/5.0-19990821/; revision=50278; tag=vendor/ncurses/5.0-19990821
Diffstat (limited to 'contrib/ncurses/dist.mk')
-rw-r--r--contrib/ncurses/dist.mk62
1 files changed, 62 insertions, 0 deletions
diff --git a/contrib/ncurses/dist.mk b/contrib/ncurses/dist.mk
new file mode 100644
index 000000000000..70168a531fee
--- /dev/null
+++ b/contrib/ncurses/dist.mk
@@ -0,0 +1,62 @@
+# $Id: dist.mk,v 1.162 1999/08/21 23:40:17 tom Exp $
+# Makefile for creating ncurses distributions.
+#
+# This only needs to be used directly as a makefile by developers, but
+# configure mines the current version number out of here. To move
+# to a new version number, just edit this file and run configure.
+#
+SHELL = /bin/sh
+
+# These define the major/minor/patch versions of ncurses.
+NCURSES_MAJOR = 5
+NCURSES_MINOR = 0
+NCURSES_PATCH = 990821
+
+# We don't append the patch to the version, since this only applies to releases
+VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
+
+DUMP = lynx -dump
+DUMP2 = $(DUMP) -nolist
+
+ALL = ANNOUNCE announce.html misc/ncurses-intro.doc misc/hackguide.doc
+
+all : $(ALL)
+
+dist: $(ALL)
+ (cd ..; tar cvf ncurses-$(VERSION).tar `sed <ncurses-$(VERSION)/MANIFEST 's/^./ncurses-$(VERSION)/'`; gzip ncurses-$(VERSION).tar)
+
+distclean:
+ rm -f $(ALL)
+
+# Don't mess with announce.html.in unless you have lynx available!
+announce.html: announce.html.in
+ sed 's,@VERSION@,$(VERSION),' <announce.html.in >announce.html
+
+ANNOUNCE : announce.html
+ $(DUMP) announce.html >ANNOUNCE
+
+misc/ncurses-intro.doc: misc/ncurses-intro.html
+ $(DUMP2) misc/ncurses-intro.html > misc/ncurses-intro.doc
+misc/hackguide.doc: misc/hackguide.html
+ $(DUMP2) misc/hackguide.html > misc/hackguide.doc
+
+# Prepare distribution for version control
+vcprepare:
+ find . -type d -exec mkdir {}/RCS \;
+
+# Write-lock almost all files not under version control.
+ADA_EXCEPTIONS=$(shell eval 'a="\\\\\|";for x in Ada95/gen/terminal*.m4; do echo -n $${a}Ada95/ada_include/`basename $${x} .m4`; done')
+EXCEPTIONS = 'announce.html$\\|ANNOUNCE\\|misc/.*\\.doc\\|man/terminfo.5\\|lib_gen.c'$(ADA_EXCEPTIONS)
+writelock:
+ for x in `grep -v $(EXCEPTIONS) MANIFEST`; do if [ ! -f `dirname $$x`/RCS/`basename $$x`,v ]; then chmod a-w $${x}; fi; done
+
+# This only works on a clean source tree, of course.
+MANIFEST:
+ -rm -f $@
+ touch $@
+ find . -type f -print |sort | fgrep -v .lsm |fgrep -v .spec >$@
+
+TAGS:
+ etags */*.[ch]
+
+# Makefile ends here