File: setversion

package info (click to toggle)
systraq 0.0.20081217-1%2Bsqueeze2.1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,432 kB
  • ctags: 13
  • sloc: sh: 826; makefile: 122
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