summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile18
-rw-r--r--TODO.md1
2 files changed, 17 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f7f8efc..d01535a 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/TODO.md b/TODO.md
new file mode 100644
index 0000000..61451fa
--- /dev/null
+++ b/TODO.md
@@ -0,0 +1 @@
+* Man Page