File: setversion

package info (click to toggle)
uruk 20190121-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,188 kB
  • sloc: sh: 1,852; makefile: 151; xml: 51
file content (22 lines) | stat: -rwxr-xr-x 647 bytes parent folder | download | duplicates (4)
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 at http://git.mdcc.cx/uruk.git

# 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