while that worked flawlessly, there might be problems on a subsequent build in the same tree, if you were renaming directories.
To fix that, I added (to the aforementioned) an override_dh_autoreconf sequence:
[ -d src/new-dir ] || mv src/orig-dir src/new-dir
if [ -d src/orig-dir -a -d debian/tmp ]; then debian/rules post_patch; fi
Hope that helps anyone :)
On Wed, Oct 10, 2012 at 4:37 AM, Jasmine Hassan <email@example.com>
Has this been reported as a bug yet?
The only thing I found to work is:
[ -f orig.c ] || mv new.c orig.c
# This forces the rename right before dpkg-source --after-build