about summary refs log tree commit diff
path: root/Completion/Debian
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Debian')
-rw-r--r--Completion/Debian/Command/.distfiles2
-rw-r--r--Completion/Debian/Command/_make-kpkg24
2 files changed, 25 insertions, 1 deletions
diff --git a/Completion/Debian/Command/.distfiles b/Completion/Debian/Command/.distfiles
index c1e902091..3fc0c7d6a 100644
--- a/Completion/Debian/Command/.distfiles
+++ b/Completion/Debian/Command/.distfiles
@@ -3,5 +3,5 @@ DISTFILES_SRC='
 _apt
 _bts	_bug
 _debchange _dpkg       _dpkg_source  _dput  _dupload
-_update-alternatives
+_update-alternatives   _make-kpkg
 '
diff --git a/Completion/Debian/Command/_make-kpkg b/Completion/Debian/Command/_make-kpkg
new file mode 100644
index 000000000..69247305b
--- /dev/null
+++ b/Completion/Debian/Command/_make-kpkg
@@ -0,0 +1,24 @@
+#compdef make-kpkg
+
+_arguments \
+       '--help' \
+       '--revision:number:' \
+       '--append-to-version:suffix:' \
+       '--flavour:flavour:' \
+       '--added-modules:module list:' \
+       '--added-patches:patches list' \
+       '--arch:architecture:' \
+       '--cross-compile:target:' \
+       '--subarch:subarchitecture:' \
+       '--arch-in-name' \
+       '--pgpsign:name:' \
+       '--config:target:(oldconfig config menuconfig xconfig old menu x)' \
+       '--targets' \
+       '--noexec' \
+       '--initrd' \
+       '--zimage[make zImage instead of bzImage]' \
+       '--bzimage[make bzImage instead of zImage]' \
+       '--rootcmd:root command:(sudo fakeroot)' \
+       '--us[unsigned source]' \
+       '--uc[unsigned changelog]' \
+       '*:target:(clean buildpackage binary kernel-source kernel-headers kernel-doc kernel-image build modules modules_config modules_image modules_clean configure debian libc-kheaders)'