aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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