makefile: clean: run git clean as root (required to clean build files created by root)

This commit is contained in:
nodiscc
2020-04-12 14:09:41 +02:00
parent 83c01502d5
commit 616db3fb55

View File

@@ -18,7 +18,7 @@ install_buildenv:
# clear all caches, only required when changing the mirrors/architecture config # clear all caches, only required when changing the mirrors/architecture config
clean: clean:
sudo lb clean --all sudo lb clean --all
git clean -di sudo git clean -di
bump_version: bump_version:
@last_tag=$$(git tag | tail -n1); \ @last_tag=$$(git tag | tail -n1); \