]> pd.if.org Git - zpackage/commitdiff
add man page shell
authorNathan Wagner <nw@hydaspes.if.org>
Sat, 1 Dec 2018 01:23:50 +0000 (01:23 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Sat, 1 Dec 2018 01:27:27 +0000 (01:27 +0000)
Makefile
doc/zpm.8 [new file with mode: 0644]

index bbc69913c556bd6013d9d3e7e0293b32c171db38..6c6414b6552e289b11ec6ff7c6c50ff81cfecfe2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -72,10 +72,11 @@ lib/libjsw.a: $(JSWOBJ)
 
 ZPM:= ./zpm -P.
 
-zpm-$(ZPMVER)-1.zpm: programs
+zpm-$(ZPMVER)-1.zpm: programs doc/zpm.8
        rm -f $@
        $(ZPM) newpackage -C zpm-$(ZPMVER)-1
        $(ZPM) add -v -u root -g root -f $@ -P /sbin zpm-$(ZPMVER)-1 $(sort $(PROGRAMS))
+       $(ZPM) add -v -u root -g root -f $@ -P /usr/share/man/man8 -S doc doc/zpm.8
 
 tarball: zpm-$(ZPMVER)-1.tar.xz
 
diff --git a/doc/zpm.8 b/doc/zpm.8
new file mode 100644 (file)
index 0000000..6db912c
--- /dev/null
+++ b/doc/zpm.8
@@ -0,0 +1,24 @@
+.TH zpm 8 2018-11-30 "ZPM 0.2"
+.SH NAME
+zpm \- the ultimate package manager
+.SH SYNOPSIS
+.B zpm
+[
+.I \-P path
+]
+.I command
+.i options
+.SH DESCRIPTION
+zpm is the ultimate package manager
+.SH OPTIONS
+P sets a path to the sub-command executables
+.SH EXAMPLES
+zpm init
+.SH EXIT STATUS
+0 on success non zero on failure
+.SH FILES
+/var/lib/zpm/local.db
+.SH AUTHOR
+Nathan Wagner
+.SH SEE ALSO
+many