Return to mkdist CVS log | Up to [cvs.NetBSD.org] / src / crypto / external / bsd / netpgp |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.1, 2009/04/23 06:31:55 | version 1.2, 2009/12/14 23:29:56 | ||
---|---|---|---|
|
|
||
#! /bin/sh | #! /bin/sh | ||
t=$(date +%Y%m%d) | case "$#" in | ||
0) | |||
t=$(date +%Y%m%d) | |||
;; | |||
*) | |||
t=$1 | |||
;; | |||
esac | |||
ac=ac.$$ | 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 | 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) | (cd dist && autoconf && autoheader) |