From 8e7eaaf949cc2649ec6be4ba361912f616e1d67d Mon Sep 17 00:00:00 2001 From: Jelte Fennema Date: Wed, 26 Feb 2020 17:20:40 +0100 Subject: [PATCH] Add clean-full to also clean full builds of vendored libraries --- Makefile | 4 +++- src/backend/distributed/Makefile | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c076ba169..a20040063 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,9 @@ install-headers: extension $(INSTALL_DATA) $(citus_abs_srcdir)/src/include/distributed/*.h '$(DESTDIR)$(includedir_server)/distributed/' clean-extension: $(MAKE) -C src/backend/distributed/ clean -.PHONY: extension install-extension clean-extension +clean-full: + $(MAKE) -C src/backend/distributed/ clean-full +.PHONY: extension install-extension clean-extension clean-full # Add to generic targets install: install-extension install-headers clean: clean-extension diff --git a/src/backend/distributed/Makefile b/src/backend/distributed/Makefile index d5356c0ba..d8c8bd9e5 100644 --- a/src/backend/distributed/Makefile +++ b/src/backend/distributed/Makefile @@ -65,7 +65,7 @@ ifneq (,$(SQL_Po_files)) include $(SQL_Po_files) endif -.PHONY: check-sql-snapshots +.PHONY: check-sql-snapshots clean-full check-sql-snapshots: bash -c '\ @@ -79,3 +79,7 @@ cleanup-before-install: rm -f $(DESTDIR)$(datadir)/$(datamoduledir)/citus* install: cleanup-before-install + +clean-full: + make clean + rm -rf $(safestringlib_builddir)