[tor-commits] [tor/master] Makefile: Fix more targets for out-of-tree builds

teor at torproject.org teor at torproject.org
Tue Nov 26 01:04:54 UTC 2019


commit c7baacf4c0855728077e553a4685577b1344ac82
Author: teor <teor at torproject.org>
Date:   Sat Nov 16 19:57:22 2019 +1000

    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(-)

diff --git a/Makefile.am b/Makefile.am
index 70965c2b1..38040a4e7 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:



More information about the tor-commits mailing list