Makefile: Fix more targets for out-of-tree builds

Support callgraph and rectify-includes in out-of-tree builds.

Part of 32522.
This commit is contained in:
teor 2019-11-16 19:57:22 +10:00
parent 5ec4fb7558
commit c7baacf4c0
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A

View File

@ -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: