From a18711c642702bb935c4d988e3cf8567956d814d Mon Sep 17 00:00:00 2001 From: Paul Ackersviller Date: Tue, 12 Jun 2007 03:01:09 +0000 Subject: Merge of 21686, 23178, and 23183. --- Completion/Debian/Command/_make-kpkg | 57 ++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Completion/Debian/Command/_make-kpkg diff --git a/Completion/Debian/Command/_make-kpkg b/Completion/Debian/Command/_make-kpkg new file mode 100644 index 000000000..8d5eff037 --- /dev/null +++ b/Completion/Debian/Command/_make-kpkg @@ -0,0 +1,57 @@ +#compdef make-kpkg + +local context state line +typeset -A opt_args + +_arguments \ + '--help[display help message]' \ + '--revision[change Debian revision number]:number:' \ + '--append-to-version[specify additional kernel sub-version]:suffix:' \ + '--added-modules[specify add-on modules]:module list:->addedmodules' \ + '--added-patches[specify additional patches]:patches list' \ + '--arch[specify architecture for cross-compilation]:architecture' \ + '--cross-compile[specify target string]:target' \ + '--subarch[specify subarchitecture]:subarchitecture:' \ + '--arch-in-name[include architecture in kernel image name]' \ + '--pgpsign[sign changes file]:name' \ + '--config[specify configuration target]:target:(oldconfig config menuconfig xconfig old menu x)' \ + '--targets[list known targets]' \ + '--noexec[pass -n option to make]' \ + '--verbose[show top level make commands]' \ + '--initrd[create image suitable for initrd]' \ + '(--bzimage)--zimage[make zImage instead of bzImage]' \ + '(--zimage)--bzimage[make bzImage instead of zImage]' \ + '--mkimage[command that produces an initrd image given a directory]:command:' \ + '--rootcmd[specify command for gaining root access]:root command:(sudo fakeroot)' \ + '--stem:package name stem:(kernel linux)' \ + '--us[unsigned source]' \ + '--uc[unsigned changelog]' \ + '*:target:(( \ + clean\:"clean the kernel source directory" \ + buildpackage\:"runs the targets clean and binary" \ + binary\:"all kernel packages" \ + binary-indep\:"arch independent packages" \ + binary-arch\:"arch dependent packages" \ + kernel-source\:"package of the kernel sources" \ + kernel-headers\:"package of the header files included in the kernel" \ + kernel_manual\:"package of the manual pages included in the kernel" \ + kernel-doc\:"package of teh documentation included in the kernel" \ + kernel-image\:"package of the kernel image" \ + build\:"compiles the kernel" \ + modules\:"build all add-on modules" \ + modules_config\:"configure all add-on modules" \ + modules_image\:"build all add-on modules, but wirhou source and diff files" \ + modules_clean\:"clean add-on modules" \ + configure\:"configure the kernel" \ + debian\:"creates the debian/ directory" \ + libc-kheaders\:"create the kernel headers package needed by libc" \ + ))' && return 0 + +case "$state" in + (addedmodules) + compset -P '*,' + _alternative \ + 'moddirs:module dirs:_files -/ -S ,' \ + 'modules:loc module dirs:_files -/ -W ${MODULE_LOC:-/usr/src/modules} -S ,' + ;; +esac -- cgit 1.4.1