xbps-src: clean <pkgname> also removes pkg files in destdir.

This commit is contained in:
Juan RP 2014-12-10 18:57:11 +01:00
parent b3c22511c5
commit fc8ec0a799
1 changed files with 3 additions and 2 deletions

View File

@ -28,8 +28,8 @@ chroot
clean [pkgname] clean [pkgname]
Removes auto dependencies, cleans up <masterdir>/builddir and <masterdir>/destdir. Removes auto dependencies, cleans up <masterdir>/builddir and <masterdir>/destdir.
If <pkgname> argument is specified only the builddir for that package will be If <pkgname> argument is specified, package files from <destdir> and its
cleaned up. build directory in <masterdir>/buiddir are removed.
configure <pkgname> configure <pkgname>
Configure a package (fetch + extract + configure). Configure a package (fetch + extract + configure).
@ -564,6 +564,7 @@ case "$XBPS_TARGET" in
run_func do_clean run_func do_clean
fi fi
fi fi
remove_pkg $XBPS_CROSS_BUILD
fi fi
;; ;;
remove-autodeps) remove-autodeps)