added makefile! #3

Merged
crony merged 3 commits from TlasT/udict:makefile into main 2023-06-11 09:52:23 +02:00
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
```