clang/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
New commits: commit a4b3d6ec27ba565c8799f707d40261c8c07f97b3 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Fri Apr 14 13:35:29 2023 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Fri Apr 14 13:36:51 2023 +0200 clang: add an install target And don't build the tools I don't keep up to date (i.e. build against the clang baseline) by default. Change-Id: I468c7e30b29574efc33e5b20317761f3615347f4 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/150409 Tested-by: Miklos Vajna <vmik...@collabora.com> Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/clang/Makefile b/clang/Makefile index 71ab3c55..24ab3b2b 100644 --- a/clang/Makefile +++ b/clang/Makefile @@ -8,7 +8,7 @@ ifneq ($(GCOV),) CLANGFLAGS += --coverage endif -all: bin/rename bin/find-unprefixed-members bin/find-harmful-auto bin/readability-redundant-pp +all: bin/find-unprefixed-members bin/rename: rename.cxx Makefile clang++ $(CLANGFLAGS) $(CLANGLIBS) -ldl -lpthread -o $@ $< @@ -36,4 +36,9 @@ coverage: genhtml -o coverage clang.info @echo "Now open <file://$(PWD)/coverage$(PWD)/rename.cxx.gcov.html>" +install: + ln -sf $(PWD)/bin/find-unprefixed-members $(HOME)/bin/find-unprefixed-members + ln -sf $(PWD)/bin/find-unprefixed-members-wrapper $(HOME)/bin/find-unprefixed-members-wrapper + ln -sf $(PWD)/bin/clang-rename-wrapper $(HOME)/bin/clang-rename-wrapper + # vim: set noet sw=4 ts=4: