# The VERSION_FILTER transforms upstream version patterns to versions # useable in debian/changelog. Versions are to be transformed as # follows: # 4.0 -> 4.0 # 4.0pre -> 4.0~pre # 4.0b5 -> 4.0~b5 # 4.0b5pre -> 4.0~b5~pre # That should ensure the proper ordering VERSION_FILTER := sed 's/\([0-9]\)\([a-z]\)/\1~\2/g' Mike