diff options
author | Aaron M. Ucko <ucko@debian.org> | 2017-12-20 18:47:43 -0500 |
---|---|---|
committer | Aaron M. Ucko <ucko@debian.org> | 2017-12-20 18:47:43 -0500 |
commit | 54fa20bb7280958bd934a48eccfdd278818eb51a (patch) | |
tree | 977e277933dc89fb47eb999f0e6e639ae3301304 /debian/rules | |
parent | 0072281fce98f2c2bbb43ac779f811ed4eb34029 (diff) |
debian/rules (override_dh_auto_clean): Restore DSV/DSV.py from .bak
Allow for repeated builds with no intervention.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index f6437cf..294a4d7 100755 --- a/debian/rules +++ b/debian/rules @@ -4,3 +4,7 @@ export PYBUILD_BEFORE_BUILD_python3 = 2to3 -w DSV/DSV.py %: dh $@ --with python2,python3 --buildsystem=pybuild + +override_dh_auto_clean: + [ ! -f DSV/DSV.py.bak ] || mv -v DSV/DSV.py.bak DSV/DSV.py + dh_auto_clean |