mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-18 21:50:37 +00:00
Rebuild on change in makefiles
This commit is contained in:
4
Makefile
4
Makefile
@@ -113,3 +113,7 @@ fmt:
|
||||
.PHONY: setup-pre-commit-hook
|
||||
setup-pre-commit-hook:
|
||||
ln -s -f ../../pre-commit.py .git/hooks/pre-commit
|
||||
|
||||
# Rebuild when any makefile changes
|
||||
# https://stackoverflow.com/questions/3871444/making-all-rules-depend-on-the-makefile-itself
|
||||
.EXTRA_PREREQS+=$(foreach mk, ${MAKEFILE_LIST},$(abspath ${mk}))
|
||||
|
||||
Reference in New Issue
Block a user