From: Nathan Wagner Date: Sat, 1 Dec 2018 01:23:50 +0000 (+0000) Subject: add man page shell X-Git-Tag: v0.3.0~5 X-Git-Url: https://pd.if.org/git/?p=zpackage;a=commitdiff_plain;h=3d50a117df2b79941e77dfe074cabff95f7f3fdc add man page shell --- diff --git a/Makefile b/Makefile index bbc6991..6c6414b 100644 --- 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 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