aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2023-10-23 10:48:18 -0500
committerjvech <jmvalenciae@unal.edu.co>2023-10-23 10:48:18 -0500
commit0baa1c1beb9c52e4541c715e04ceb17402e05e19 (patch)
tree7f7df6ffc9be995ba33e303104018680762a4441 /Makefile
parent17b2cf8dc274f950865911185fc4c6a9ccf915d5 (diff)
setup: install_config added, README updated
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4df3d18..4521115 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,10 @@ install: all
install -d $(MANPREFIX)/man1
install -m 644 doc/ml.1 $(MANPREFIX)/man1/ml.1
+install_config:
+ mkdir -p ~/.config/ml
+ sed "s!utils/weights.bin!${CFGPREFIX}/ml.weights!" utils/settings.cfg > ${CFGPREFIX}/ml.cfg
+
uninstall:
rm -v $(BINPREFIX)/${BIN}
rm -v $(MANPREFIX)/man1/ml.1
Feel free to download, copy and edit any repo