diff --git a/INSTALL b/INSTALL index 81b43f2..734b9ef 100644 --- a/INSTALL +++ b/INSTALL @@ -1,6 +1,7 @@ Installing prt-get ------------------ + Installing prt-get is just a matter of -./configure -make -make install +meson setup bld --prefix=/usr +cd bld && meson compile +meson install diff --git a/doc/prt-get.8 b/doc/prt-get.8 index fd8c61e..4e0a960 100644 --- a/doc/prt-get.8 +++ b/doc/prt-get.8 @@ -778,11 +778,14 @@ return many identical lines; these are suppressed by the -3 flag to \fBcomm(1)\fP. .TP -.B for L in /var/log/pkgmk/*.log; do P=${L%.log}; P=${P##*/}; prt\-get isinst $P >/dev/null || rm $L; done -(based on a feature request by samsep10l) a command you can put into root's -crontab in order to mimic Slackware's tidy directory listings (logs are only -kept for the packages that are actually installed). Modify as needed depending -on the format string and the log directory specified in \fBprt\-get.conf(5)\fP. +.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 a script +called by root's crontab, in order to mimic Slackware's tidy directory listings +(the main logdir only contains build logs of the latest installed packages; +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 .B prt\-get printf \(dq%p\et%u\en\(dq | awk '($1 ~ /\e/myrepo$/) { print $2 }'