xbps-src: added 'clean' target to remove pkg build directory.
This commit is contained in:
@@ -77,6 +77,7 @@ Targets:
|
||||
checkvers Checks installed package versions against srcpkgs
|
||||
for new available versions.
|
||||
chroot Enter to the chroot in <masterdir>.
|
||||
clean Remove <pkg> build directory.
|
||||
configure Configure a package (fetch + extract + configure).
|
||||
extract Extract distribution file(s) into build directory.
|
||||
Build directory is always available in
|
||||
@@ -312,6 +313,12 @@ chroot)
|
||||
. $XBPS_SHUTILSDIR/chroot.sh
|
||||
xbps_chroot_handler chroot dummy
|
||||
;;
|
||||
clean)
|
||||
. $XBPS_SHUTILSDIR/tmpl_funcs.sh
|
||||
[ ! -r ./template ] && msg_error "missing build template in $(pwd)."
|
||||
setup_tmpl $(basename_cwd)
|
||||
remove_tmpl_wrksrc $wrksrc
|
||||
;;
|
||||
extract|fetch|info)
|
||||
. $XBPS_SHUTILSDIR/tmpl_funcs.sh
|
||||
[ ! -r ./template ] && msg_error "missing build template in $(pwd)."
|
||||
|
||||
Reference in New Issue
Block a user