[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit c7baacf4c0855728077e553a4685577b1344ac82
Author: teor <teor@xxxxxxxxxxxxxx>
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:

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits