pkg-get/doc/pkg-repgen.8

46 lines
1.4 KiB
Groff
Raw Normal View History

.TH pkg-repgen 8 "September 12, 2023" "" ""
2006-07-13 02:21:42 +00:00
.SH NAME
\fBpkg\-repgen \fP- generate a package repository for pkg-get
2006-07-13 02:21:42 +00:00
\fB
.SH SYNOPSIS
.nf
.fam C
\fBpkg\-repgen\fP [options] [directory [package1\.\.\.packageN]]
2006-07-13 02:21:42 +00:00
.fam T
.fi
.SH DESCRIPTION
\fBpkg\-repgen\fP generates files needed by a \fBpkg\-get\fP(8) package
2006-07-13 02:21:42 +00:00
repository. It also generates a html index of the packages.
.SH USAGE
Run \fBpkg\-repgen\fP \fI<dir>\fP to generate the whole repository of packages
found in \fI<dir>\fP. Or to accomplish the same, \fBcd\fP \fI<dir>\fP \fB&&
pkg\-repgen\fP. Any additional arguments after \fI<dir>\fP will be interpreted
as the specific package names you want updated (this is especially useful with
large repositories). Even when individual packages are specified, the entire
directory is still processed to collect all the readmes and {pre,post}-install
scripts.
2006-07-13 02:21:42 +00:00
.SH OPTIONS
.TP
.B
\fB\-\-header\fP=FILE
2006-07-13 02:21:42 +00:00
insert FILE at the beginning of the html index
.TP
.B
\fB\-\-title\fP=title
2006-07-13 02:21:42 +00:00
use the specified title for the index page
.TP
.B
\fB\-\-prtdir\fP=DIR
use alternative prtdir for prt-get commands
2006-07-13 02:21:42 +00:00
.SH EXAMPLES
\fBpkg\-repgen\fP
2006-07-13 02:21:42 +00:00
.PP
\fBpkg\-repgen\fP /home/sip/packages
.PP
\fBpkg\-repgen\fP . qt6-base qt6-tools
2006-07-13 02:21:42 +00:00
.SH AUTHORS
Simone Rota <sip@varlock.com>, John McQuah <jmcquah@disroot.org>
2006-07-13 02:21:42 +00:00
index generation code adapted from Jukka Heino's portspage
.SH SEE ALSO
\fBpkg\-get\fP(8), \fBprt\-get\fP(8)