Merge pull request 'added makefile!' (#3) from TlasT/udict:makefile into main
Reviewed-on: https://code.cronyakatsuki.xyz/crony/udict/pulls/3
This commit is contained in:
commit
c19da56ab5
2 changed files with 16 additions and 2 deletions
12
Makefile
Normal file
12
Makefile
Normal 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
|
|
@ -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
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue