update man-page with fresh examples

drop from INSTALL the outdated autotools instructions
This commit is contained in:
John McQuah 2023-09-03 16:11:29 -04:00
parent 487060e496
commit ffe29e224e
2 changed files with 12 additions and 8 deletions

View File

@ -1,6 +1,7 @@
Installing prt-get Installing prt-get
------------------ ------------------
Installing prt-get is just a matter of Installing prt-get is just a matter of
./configure meson setup bld --prefix=/usr
make cd bld && meson compile
make install meson install

View File

@ -778,11 +778,14 @@ return many identical lines; these are suppressed by the -3 flag to
\fBcomm(1)\fP. \fBcomm(1)\fP.
.TP .TP
.B for L in /var/log/pkgmk/*.log; do P=${L%.log}; P=${P##*/}; prt\-get isinst $P >/dev/null || rm $L; done .B for L in /var/log/pkgbuild/*.log; do P=${L%__*}; P=${P##*/}; VR=${L##*__}; VR=${VR%.log}; if ! prt\-get isinst $P >/dev/null; then mv $L /var/log/uninstalled; elif [ \(dq$(prt\-get current $P)\(dq != \(dq$VR\(dq ]; then mv $L /var/log/oldbuild/; fi; done
(based on a feature request by samsep10l) a command you can put into root's (based on a feature request by samsep10l) a command you can put into a script
crontab in order to mimic Slackware's tidy directory listings (logs are only called by root's crontab, in order to mimic Slackware's tidy directory listings
kept for the packages that are actually installed). Modify as needed depending (the main logdir only contains build logs of the latest installed packages;
on the format string and the log directory specified in \fBprt\-get.conf(5)\fP. other logs are moved to a separate directory). This particular command relies
on declaring \(dqlogfile /var/log/pkgbuild/%n__%v-%r.log\(dq and \(dqwritelog
enabled\(dq in \fBprt\-get.conf(5)\fP. Logs saved with a different filename
pattern will require slight adjustments to the command.
.TP .TP
.B prt\-get printf \(dq%p\et%u\en\(dq | awk '($1 ~ /\e/myrepo$/) { print $2 }' .B prt\-get printf \(dq%p\et%u\en\(dq | awk '($1 ~ /\e/myrepo$/) { print $2 }'