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
parent cd8c3f3116
commit 72c24ec556
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7

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