ebfedea0ce
- crypto/external/bsd/heimdal - crypto/external/bsd/libsaslc - crypto/external/bsd/netpgp - crypto/external/bsd/openssl Change-Id: I91dbf05f33e637edf5b9bb408d5baddd7ba8cf75
17 lines
423 B
Bash
Executable file
17 lines
423 B
Bash
Executable file
#! /bin/sh
|
|
|
|
case "$#" in
|
|
0)
|
|
t=$(date +%Y%m%d)
|
|
;;
|
|
*)
|
|
t=$1
|
|
;;
|
|
esac
|
|
ac=ac.$$
|
|
awk -F, -v t=$t '/AC_INIT/ { printf("%s,[%s],%s\n", $1, t, $3); next} { print }' dist/configure.ac > $ac && mv $ac dist/configure.ac
|
|
(cd dist && autoconf && autoheader)
|
|
mv dist netpgp-$t
|
|
tar --exclude CVS --exclude .libs --exclude autom4te.cache --exclude \*.lo --exclude \*.o --exclude \*.la -cvzf netpgp-$t.tar.gz netpgp-$t
|
|
mv netpgp-$t dist
|
|
|