Makefile: remove defunct charts on 'make clean'

When there are any defunct charts either because they were removed or
perhaps existed when testing another branch (commonly happens when
testing with git review -d ...) the build process breaks.

This should remove them.

Change-Id: I850d6ad820148f657f253bfdf1a765c673af7099
This commit is contained in:
Chris Wedgwood 2017-10-05 19:50:35 +00:00
parent 597863887c
commit 28df5921d7

View File

@ -41,5 +41,7 @@ clean:
rm -f */templates/_partials.tpl rm -f */templates/_partials.tpl
rm -f */templates/_globals.tpl rm -f */templates/_globals.tpl
rm -f *tgz */charts/*tgz rm -f *tgz */charts/*tgz
rm -f */requirements.lock
-rmdir -p */charts
.PHONY: $(EXCLUDES) $(CHARTS) .PHONY: $(EXCLUDES) $(CHARTS)