File: setversion

package info (click to toggle)
caspar 20060618-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 672 kB
  • ctags: 113
  • sloc: sh: 3,173; makefile: 124
file content (14 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $Id: setversion,v 1.4 2003/08/09 14:23:02 joostvb Exp $

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

echo 'm4_define([CASPAR_VERSION], ['`date +%Y%m%d`'])' > VERSION.m4
# compatibility with other mdcc.cx/ad1810 packages
date +%Y%m%d > VERSION

# zoem stuff
date +%e > stamp.day
date +%b > stamp.month
date +%Y > stamp.year