File: setversion

package info (click to toggle)
uruk 20051129-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 484 kB
  • ctags: 6
  • sloc: sh: 1,049; makefile: 114
file content (22 lines) | stat: -rwxr-xr-x 656 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# this file maintained using arch at http://arch.gna.org/uruk/

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

# thanks Raja R Harinath, see the post
#  Subject: Re: how to automatically generate package version, calling AC_INIT
#  From: Raja R Harinath
#  Date: Sun, 27 Apr 2003 09:33:02 -0500
#  Message-ID: <d9r87o2eox.fsf@cs.umn.edu>
# on autoconf@gnu.org

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

# compatibility with other ad1810 packages
date +%Y%m%d > VERSION

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