adapt Makefile to install nph v0.7.0 through nimble

This commit is contained in:
Ivan Folgueira Bande 2026-02-21 22:57:52 +01:00 committed by Ivan FB
parent 837e12538e
commit adf5178842
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270

View File

@ -256,12 +256,9 @@ networkmonitor: | build librln
.PHONY: build-nph install-nph clean-nph print-nph-path
build-nph: | build deps
ifeq ("$(wildcard $(NPH))","")
nimble install nph -y
nimble install nph@0.7.0 -y
cp ./nimbledeps/bin/nph ~/.nimble/bin/
echo "nph utility is available"
else
echo "nph utility already exists at " $(NPH)
endif
GIT_PRE_COMMIT_HOOK := .git/hooks/pre-commit