File: setversion

package info (click to toggle)
systraq 0.0.20070301-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,392 kB
  • ctags: 13
  • sloc: sh: 792; makefile: 116
file content (14 lines) | stat: -rwxr-xr-x 386 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $Id: setversion 180 2005-01-23 17:54:03Z lfousse $

# This script is free software; you can distribute it and/or modify it
# under the terms of the GNU GPL.  See the file COPYING.

# based upon cabot's and caspar's setversion

echo 'm4_define([ST_VERSION], ['`date +%Y%m%d`'])' > VERSION.m4

# dates in documentation
date +%e > stamp.day
date +%B > stamp.month
date +%Y > stamp.year