From 5e522c78e81242c133e1cc1033740afbba4d62ae Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sat, 10 Jun 2023 20:51:26 +0200 Subject: [PATCH 1/2] added makefile! --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..54220b0 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +PREFIX = /usr/local + +make: + @echo "usage: make [install|uninstall]" + +install: + mkdir -p ${PREFIX}/bin + cp -f udict ${PREFIX}/bin + chmod 755 ${PREFIX}/bin/udict + +uninstall: + rm -f ${PREFIX}/bin/udict -- 2.45.2 From d5601fa866fcef70357c2131cd8f0d411f7b4d58 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sat, 10 Jun 2023 20:53:42 +0200 Subject: [PATCH 2/2] updated readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e30017d..caa0011 100644 --- a/README.md +++ b/README.md @@ -10,5 +10,7 @@ meaning, "shaking my head", smh is typically used when something is obvious, pla ``` ## Installation - -just copy the script to your path +> as root +```bash +sudo make install +``` -- 2.45.2