fix clean target
authorOlivier Sallou <osallou@debian.org>
Fri, 21 Sep 2012 16:21:15 +0000 (16:21 +0000)
committerOlivier Sallou <osallou@debian.org>
Fri, 21 Sep 2012 16:21:15 +0000 (16:21 +0000)
debian/rules

index a2ad16a2e4e308473cc6cded70e6a7510346d05c..14592a8626930c328bd0acfc858fb43d9f8b8fcc 100755 (executable)
@@ -69,8 +69,10 @@ override_dh_install:
 override_dh_clean:
        dh_clean
        -for x in c++/src/objects/*/*.files; do \
+         if [ -d $$x ]; then \
            (cd `dirname $$x`  &&  ../../../BUILD/build/new_module.sh \
                `basename $$x .files`.module purge_sources); \
+         fi \
        done
        rm -rf c++/BUILD c++/compilers/dll c++/config.log c++/Makefile
        rm -f c++/configure.lineno c++/src/objects/blastxml/blastxml.module