diff options
author | rafa_99 <rafa99@protonmail.com> | 2020-09-23 13:59:55 +0000 |
---|---|---|
committer | rafa_99 <rafa99@protonmail.com> | 2020-09-23 13:59:55 +0000 |
commit | f67133f8b6a37b1173a46ad16da5453fe29346ca (patch) | |
tree | 65e38d6a519fee527728592d487ddbeea66e3785 /Makefile | |
parent | 17b5e82c5392cbd9d38e6efa44945d304d28e6e5 (diff) |
Updated Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -1,5 +1,19 @@ -all: clean - cc -o pkg pkg.c utils.c actions.c +all: pkg + +pkg: + cc -o pkg pkg.c actions.c utils.c clean: rm -rf pkg + +install: all + mkdir -p /usr/local/bin + cp -f pkg /usr/local/bin + chmod 755 /usr/local/bin + # mkdir -p /local/share/man/man1 + # cp -f pkg.1 /local/share/man/man1 + # chmod 644 /local/share/man/man1/pkg.1 + +uninstall: + rm -rf /usr/local/bin/pkg + # rm -f /local/share/man/man1/pkg.1 |