aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-11-16 19:57:22 +1000
committerteor <teor@torproject.org>2019-11-26 11:04:02 +1000
commitc7baacf4c0855728077e553a4685577b1344ac82 (patch)
tree70ec42a9b7f04033be289454f5fc2b6c85a6b9fd /Makefile.am
parent5ec4fb755821f65c8b59b55c7629be371fe29fb0 (diff)
downloadtor-c7baacf4c0855728077e553a4685577b1344ac82.tar.gz
tor-c7baacf4c0855728077e553a4685577b1344ac82.zip
Makefile: Fix more targets for out-of-tree builds
Support callgraph and rectify-includes in out-of-tree builds. Part of 32522.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
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: