3
if [ ${#} -eq 1 ] && [ "x$1" = "x-r" ]; then
10
# Get the first changelog entry to fix the version
11
release=$(head --lines 1 debian/changelog | sed "s/.*(\(.*\)).*/\\1/")
13
if [ $QUIET -ne 1 ]; then
14
printf "#ifndef _VERSION_H_ \n"
15
printf "#define _VERSION_H_ \n\n"
16
printf "#define VERSION \"$release\"\n"