]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix Lintian warning: debian-rules-ignores-make-clean-error
authorAnthony Fok <foka@debian.org>
Sun, 29 Jan 2017 11:56:43 +0000 (04:56 -0700)
committerAnthony Fok <foka@debian.org>
Sun, 29 Jan 2017 11:58:18 +0000 (04:58 -0700)
debian/rules

index cb8223a4c7202a9ed7fdf29e1461d6a90652833b..75e06aa4766ee46911da9101a226f6d99dda49e7 100755 (executable)
@@ -133,8 +133,7 @@ override_dh_auto_install-indep: override_dh_auto_install-arch debian/guile.reloc
 ## we need to nuke the parser files, because if there is a mismatch
 ## between upstreams bison and our bison, the build will fail epically
 override_dh_auto_clean:
-       rm -rf no-trespassing
-       -$(MAKE) -C guile18 maintainer-clean
+       [ ! -f guile18/Makefile ] || $(MAKE) -C guile18 maintainer-clean
        rm -f lily/out/parser.*
        dh_auto_clean --no-parallel