mkpk

Систем за управљање пакетима који користи mk из система Plan9
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување 5014d8e649fd758be8d4b89d1f21bb01b64b82c0
родитељ 0f409a70b6c44ec4a2561bedffa0759e9b6f1fc4
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Fri,  5 Aug 2022 15:49:43 +0200

Update manpage with the ENVIRONMENT section

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
Mmkpk.8 | 45+++++++++++++++++++++++++++++++++++++++++++--
измењених датотека: 1, додавања: 43(+), брисања: 2(-)

diff --git a/mkpk.8 b/mkpk.8 @@ -49,16 +49,57 @@ by unlinking files from the filelist of its tarball. .It Nm Cm update Updates the mkfiles repository. .El +.Sh ENVIRONMENT +You can see the full list of relevant environment variables used by +.Nm +in the file +.Pa /lib/mkpk/defaults.mk +(default location). Only some of the more interesting variables are listed here. +.Bl -tag -width ".Ev SRCMKFILES" +.It Ev mkpklib +Directory holding the library mkfiles. By default, +.Pa /lib/mkpk . +. +.It Ev MKFILESREPO +URL of the repository with the mkfiles with information on how to build +individual packages. +. +.It Ev PKGBASE +Base name of a package. For example, +.Dq gcc +or +.Dq vim . +. +.It Ev PKG +Full name of a package, including the full version. For example, +.Dq gcc-12.1.0-2 . +. +.It Ev SRCMKFILES +Directory containing mkfiles. By default, +.Pa /src/mkfiles . +.El .Sh FILES .Bl -tag -width ".Pa /pkg/pkgdb.tsv" +.It Pa /pkg/*.tar.xz +Tarballs containing built binaries, ready to be extracted to +.Pa / . +. .It Pa /pkg/pkgdb.tsv -Package database; TSV file holding the names, versions and installation times of -all installed packages. +Package database; TSV file holding the names, versions and installation +timestamps of all installed packages. . .It Pa /lib/mkpk/*.mk Mkfiles to be included into individual package's mkfiles or called by the .Nm helper. +. +.It Pa /src/[package]-[version] +Main source directory for a +.Ar package . +. +.It Pa /src/mkfiles/[package] +Mkfiles with instructions on how to build each individual package. Copied to +.Pa /src/[package]-[version] . .El .Sh "SEE ALSO" .Xr mk 1