From 2c74c1f813b305da9621a37209a579f30fe9c943 Mon Sep 17 00:00:00 2001 From: Albert Graef <aggraef@gmail.com> Date: Fri, 9 Mar 2018 09:36:55 +0100 Subject: [PATCH] Fix up realclean target so that it also removes files in .gitignore. --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 56cedba8b..976a0f2ef 100644 --- a/Makefile +++ b/Makefile @@ -68,14 +68,11 @@ clean: cd Gem/ && rm -f gemglutwindow.pd_linux Gem.pd_linux realclean: -# git clean doesn't see these, but we need to get rid of them to prevent -# subsequent mysterious build failures - rm -rf pd/lib $(addprefix externals/disis/, flext/configure stk/configure) -# The rest requires a working copy of the git repo. +# This requires a working copy of the git repo. @test -d .git || (echo "Not a git repository, bailing out." && false) git submodule deinit --all -f git checkout . - git clean -dff + git clean -dffx # Build a self-contained distribution tarball (snapshot). This is pretty much # the same as in debuild/Makefile and must be run in a working copy of the git -- GitLab