Add clean-full to also clean full builds of vendored libraries

pull/3541/head
Jelte Fennema 2020-02-26 17:20:40 +01:00
parent 92d7a40d1d
commit 8e7eaaf949
2 changed files with 8 additions and 2 deletions

View File

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

View File

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