diff --git a/Documentation/clean.do b/Documentation/clean.do index 2231500..ebd0b40 100644 --- a/Documentation/clean.do +++ b/Documentation/clean.do @@ -1 +1,2 @@ -rm -f *~ .*~ *.1 md-to-man +rm -f *~ .*~ *.1 md-to-man *.tmp + diff --git a/version/gitvars.do b/version/gitvars.do index 9f52c62..483e825 100644 --- a/version/gitvars.do +++ b/version/gitvars.do @@ -1,6 +1,7 @@ redo-ifchange gitvars.pre prodname read PROD $3 # Fix each line from gitvars.pre where git may or may not have already # substituted the variables. If someone generated a tarball with 'git archive', @@ -12,6 +13,7 @@ while read line; do x=${line#\$Format:} # remove prefix if [ "$x" != "$line" ]; then # git didn't substitute it + redo-always # git this from the git repo x=${x%\$} # remove trailing $ if [ "$x" = "%d" ]; then tag=$(git describe --match="$PROD-*") @@ -22,3 +24,5 @@ while read line; do fi echo "$x" done