prevent cleanup of configure.orig
authorOlivier Sallou <osallou@debian.org>
Sat, 7 Jun 2014 07:29:26 +0000 (07:29 +0000)
committerOlivier Sallou <osallou@debian.org>
Sat, 7 Jun 2014 07:29:26 +0000 (07:29 +0000)
debian/rules

index c3052851101a2d0f3e18f9168e8f9467c3982975..d5cb058f0d89fb71e5557b604d7fff97704fc7e1 100755 (executable)
@@ -72,6 +72,7 @@ override_dh_install:
        if test -d $(leg_bin); then cp debian/legacy/legacy.sh $(leg_bin)/; fi
 
 override_dh_clean:
+       cp c++/configure.orig configure.orig.save
        dh_clean
        #Tricky - for each module directory there may be several module files
        #or there may be none but then there is still a module named after the
@@ -89,6 +90,7 @@ override_dh_clean:
        rm -f c++/configure.lineno c++/src/objects/blastxml/blastxml.module
        find -name check_exec.pid -delete
        rm -rf c++/BUILD
+       mv configure.orig.save c++/configure.orig
 
 %:
        dh $@ -Dc++ --with autotools_dev --with quilt