Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
10ef7a31cf
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  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.