File: dont-touch-debian-changelog

package info (click to toggle)
ccontrol 1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 656 kB
  • sloc: ansic: 1,533; sh: 337; makefile: 150; python: 141; xml: 64
file content (24 lines) | stat: -rw-r--r-- 765 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
23
24
Description: Don't touch debian/changelog.
Forwarded: not-needed
Last-Update: 2011-11-14

--- a/configure
+++ b/configure
@@ -94,17 +94,6 @@
     echo $ASCIIDOC
 fi
 
-DEBVERSION=`head -n1 debian/changelog | sed -e 's/^ccontrol (\([0-9.]\+\)-[0-9]\+) .*$/\1/'`
-
-if [ "$DEBVERSION" != "$VERSION" ]; then
-       echo "Fixing up debian/changelog as the version was changed."
-       # FIXME: -R is GNU date specific
-       DATE=`date -R`
-       cp debian/changelog debian/changelog.old
-       (sed -e "s/@VERSION@/$VERSION/" -e "s/@DATE@/$DATE/" debian/changelog.template.in ; cat debian/changelog.old) > debian/changelog
-       rm debian/changelog.old
-fi
-
 echo sed -e \""s,@CC@,$CC,g\"" \
 	-e \""s,@BINDIR@,$BINDIR,g\"" \
 	-e \""s,@LIBDIR@,$LIBDIR,g\"" \