Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GNU defines `distclean` and `maintainer-clean` as standard Makefile targets employed for workspace cleanup. Jool's non-autogenerated Makefiles were sometimes missing them. Because `distclean` wasn't always defined, dpkg-buildpackage was falling back to `clean` during the `dh_auto_clean` preparation step. `clean` doesn't remove several build files (including Makefiles), so `dpkg-buildpackage` was giving up after finding the workspace contaminated. So... implement `distclean`. This fixes Debian#1046037. There are other GNU targets Jool is sometimes missing, but I'm pushing that outside of the scope of this patch.
- Loading branch information