summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index aa4ea85d..43205a62 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -14,6 +14,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# Cause the tool(s) built by this package to be used also when running
+# commands via e.g., "make syntax-check". Doing this a little sooner
+# would have avoided a grep infloop bug.
+export PATH := $(srcdir)/src:${PATH}
+
# Used in maint.mk's web-manual rule
manual_title = GNU Grep: Print lines matching a pattern