Merge pull request 'added makefile!' (#3) from TlasT/udict:makefile into main

Reviewed-on: #3
This commit is contained in:
CronyAkatsuki 2023-06-11 07:52:21 +00:00
commit c19da56ab5
2 changed files with 16 additions and 2 deletions

12
Makefile Normal file
View File

@ -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

View File

@ -10,5 +10,7 @@ meaning, "shaking my head", smh is typically used when something is obvious, pla
``` ```
## Installation ## Installation
> as root
just copy the script to your path ```bash
sudo make install
```