From: Adam Dickmeiss Date: Tue, 5 Dec 1995 11:43:35 +0000 (+0000) Subject: New feature: make distribution. X-Git-Tag: ZEBRA.1.0~625 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;ds=sidebyside;h=aa840a48cdae439c7dc62642154b1913008d40df;p=idzebra-moved-to-github.git New feature: make distribution. --- diff --git a/Makefile b/Makefile index b09a7df..163cb5c 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ # Copyright (C) 1994-1995, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.40 1995-12-05 11:24:27 adam Exp $ +# $Id: Makefile,v 1.41 1995-12-05 11:43:35 adam Exp $ SHELL=/bin/sh MAKE=make RANLIB=ranlib +VERSION=1.0a2 # Where are Yaz libraries located? #YAZLIB=../../yaz/lib/libyaz.a @@ -59,6 +60,17 @@ gnudepend: sed 's/^depend: depend1/depend: depend2/g' >Makefile.tmp;then \ mv -f Makefile.tmp Makefile; fi); done +distribution: + echo "Making distribution version $(VERSION). Did you commit?" + if [ -d tmp ]; then \ + rm -fr tmp; \ + fi + mkdir tmp; cd tmp; cvs export -f -D now zebra + cd tmp/zebra/doc; make all + cd tmp; mv zebra zebra-$(VERSION) + cd tmp; tar zcf ../zebra-$(VERSION).tar.gz zebra-$(VERSION) + rm -fr tmp + wc: wc `find . -name '*.[ch]'`