From c7baacf4c0855728077e553a4685577b1344ac82 Mon Sep 17 00:00:00 2001 From: teor Date: Sat, 16 Nov 2019 19:57:22 +1000 Subject: Makefile: Fix more targets for out-of-tree builds Support callgraph and rectify-includes in out-of-tree builds. Part of 32522. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 70965c2b1b..38040a4e75 100644 --- a/Makefile.am +++ b/Makefile.am @@ -478,7 +478,7 @@ update-versions: .PHONY: callgraph callgraph: - $(top_builddir)/scripts/maint/run_calltool.sh + cd $(top_builddir); $(abs_top_srcdir)/scripts/maint/run_calltool.sh version: @echo "Tor @VERSION@" @@ -497,7 +497,7 @@ autostyle-operators: .PHONY: rectify-includes rectify-includes: - $(PYTHON) $(top_srcdir)/scripts/maint/rectify_include_paths.py + cd $(top_srcdir); $(PYTHON) $(abs_top_srcdir)/scripts/maint/rectify_include_paths.py .PHONY: update-copyright update-copyright: -- cgit v1.2.3-54-g00ecf