Makefile: Fix "make check-includes" for out-of-tree builds

Previously, it would run on the build tree, which did not contain
any sources.

Fixes bug 31335; bugfix on 0.3.5.1-alpha.
This commit is contained in:
teor 2019-11-06 12:29:35 +10:00
parent 76fd872db8
commit 10ef7a31cf
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A
2 changed files with 4 additions and 1 deletions

View File

@ -370,7 +370,7 @@ endif
check-includes: check-includes:
if USEPYTHON if USEPYTHON
$(PYTHON) $(top_srcdir)/scripts/maint/practracker/includes.py $(PYTHON) $(top_srcdir)/scripts/maint/practracker/includes.py $(top_srcdir)
endif endif
check-best-practices: check-best-practices:

3
changes/bug31335 Normal file
View File

@ -0,0 +1,3 @@
o Minor bugfixes (code quality):
- Fix "make check-includes" so it runs correctly on out-of-tree builds.
Fixes bug 31335; bugfix on 0.3.5.1-alpha.