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)