2021-05-17 Fred Gleason <fredg@paravelsystems.com>

* Added code to generate 'debian/changelog' and 'debian/control'
	automatically.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-05-17 12:55:17 -04:00
parent f702dc2da1
commit 0c600c7466
6 changed files with 23 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh
##
## (C) Copyright 2002-2003,2016 Fred Gleason <fredg@paravelsystems.com>
## (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
##
## Adapted from './autogen.sh' in the Jack Audio Connection Kit.
## Copyright (C) 2001-2003 Paul Davis, et al.
@@ -20,6 +20,13 @@
## Boston, MA 02111-1307 USA
##
#
# Generate Debian packaging metadata
#
DATESTAMP=`date +%a,\ %d\ %B\ %Y\ %T\ %z`
sed s/@VERSION@/`cat PACKAGE_VERSION`/ < debian/control.src > debian/control
sed s/@VERSION@/`cat PACKAGE_VERSION`/ < debian/changelog.src | sed "s/@DATESTAMP@/$DATESTAMP/" > debian/changelog
mkdir -p m4
libtoolize=libtoolize