Fix minor issues with makefile targets (#4717)

pull/4940/head
Hanefi Onaldi 2021-04-28 15:46:55 +03:00 committed by GitHub
parent 6a050ab6b9
commit 2f90ce931b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -46,8 +46,8 @@ check-style:
cd ${citus_abs_top_srcdir} && citus_indent --quiet --check
.PHONY: reindent check-style
# depend on install for now
check: all install
# depend on install-all so that downgrade scripts are installed as well
check: all install-all
$(MAKE) -C src/test/regress check-full
.PHONY: all check clean install install-downgrades install-all

View File

@ -90,11 +90,11 @@ install: cleanup-before-install
# install and install-downgrades should be run sequentially
install-all: install
make install-downgrades
$(MAKE) install-downgrades
install-downgrades: $(generated_downgrade_sql_files)
$(INSTALL_DATA) $(generated_downgrade_sql_files) '$(DESTDIR)$(datadir)/$(datamoduledir)/'
clean-full:
make clean
$(MAKE) clean
rm -rf $(safestringlib_builddir)