Browse Source

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.
teor 4 years ago
parent
commit
10ef7a31cf
2 changed files with 4 additions and 1 deletions
  1. 1 1
      Makefile.am
  2. 3 0
      changes/bug31335

+ 1 - 1
Makefile.am

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

+ 3 - 0
changes/bug31335

@@ -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.