summaryrefslogtreecommitdiffstats
path: root/tools/mxe-activate
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-08-25 10:09:10 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-08-25 10:09:10 (GMT)
commit6ab49b639eb9514fd2fd0937ce2146479db43bdf (patch)
tree87fbab047aee29f6147c8fe915560d631a32aa29 /tools/mxe-activate
parent1ca4041cc824eff3b7c65fc8f965eabec439c80c (diff)
parent143ae3c63f875af9b07b4eb7590d90214145ea7a (diff)
downloadmxe-6ab49b639eb9514fd2fd0937ce2146479db43bdf.zip
mxe-6ab49b639eb9514fd2fd0937ce2146479db43bdf.tar.gz
mxe-6ab49b639eb9514fd2fd0937ce2146479db43bdf.tar.bz2
Merge pull request #228 from tonytheodore/deps
Makefile and docs: add EXCLUDE_PKGS and show*deps* functionality
Diffstat (limited to 'tools/mxe-activate')
-rw-r--r--tools/mxe-activate8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/mxe-activate b/tools/mxe-activate
index 2ef2398..5a59ddd 100644
--- a/tools/mxe-activate
+++ b/tools/mxe-activate
@@ -40,8 +40,14 @@ _mxe()
COMPREPLY=( $(compgen -W "${_pkgs}" -- ${cur}) )
return 0
;;
+ show-*deps-*)
+ local base=`echo ${cur} | $SED -n 's,\(show.*deps-\).*,\1,p'`
+ local _pkgs=$( for x in ${pkgs}; do echo $base${x} ; done )
+ COMPREPLY=( $(compgen -W "${_pkgs}" -- ${cur}) )
+ return 0
+ ;;
[!-]*)
- pkgs+=" build-only- check-requirements clean clean-pkg download download- update-checksum-"
+ pkgs+=" build-only- check-requirements clean clean-pkg download download- update-checksum- show-deps- show-downstream-deps- show-upstream-deps-"
COMPREPLY=( $(compgen -W "${pkgs}" -- ${cur}) )
return 0
;;