diff options
-rw-r--r-- | Makefile | 18 | ||||
-rw-r--r-- | TODO.md | 1 |
2 files changed, 17 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 @@ -0,0 +1 @@ +* Man Page |