projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
59fa6cc
)
New feature: make distribution.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 5 Dec 1995 11:43:35 +0000
(11:43 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 5 Dec 1995 11:43:35 +0000
(11:43 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
b09a7df
..
163cb5c
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,11
+1,12
@@
# Copyright (C) 1994-1995, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
# 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
SHELL=/bin/sh
MAKE=make
RANLIB=ranlib
+VERSION=1.0a2
# Where are Yaz libraries located?
#YAZLIB=../../yaz/lib/libyaz.a
# 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
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]'`
wc:
wc `find . -name '*.[ch]'`