summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2014-08-23 21:01:58 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2014-08-23 21:01:58 +0100
commitcc6e9db29da73bb226b6e53ff4df0f135207d206 (patch)
treef750269507cfb7e5877c92f61fc4973fa12a3566
parent510a11834a8485cb9c3d55d73770b4f3710c7447 (diff)
downloadzsh-cc6e9db29da73bb226b6e53ff4df0f135207d206.tar.gz
zsh-cc6e9db29da73bb226b6e53ff4df0f135207d206.tar.xz
zsh-cc6e9db29da73bb226b6e53ff4df0f135207d206.zip
33047: use git to simplify massively source distribution file selection
-rw-r--r--.distfiles6
-rw-r--r--ChangeLog48
-rw-r--r--Completion/.distfiles3
-rw-r--r--Completion/AIX/.distfiles1
-rw-r--r--Completion/AIX/Command/.distfiles2
-rw-r--r--Completion/AIX/Type/.distfiles2
-rw-r--r--Completion/BSD/.distfiles1
-rw-r--r--Completion/BSD/Command/.distfiles17
-rw-r--r--Completion/Base/.distfiles1
-rw-r--r--Completion/Base/Completer/.distfiles16
-rw-r--r--Completion/Base/Core/.distfiles4
-rw-r--r--Completion/Base/Utility/.distfiles23
-rw-r--r--Completion/Base/Widget/.distfiles5
-rw-r--r--Completion/Cygwin/Command/.distfiles5
-rw-r--r--Completion/Darwin/Command/.distfiles8
-rw-r--r--Completion/Darwin/Type/.distfiles2
-rw-r--r--Completion/Debian/.distfiles1
-rw-r--r--Completion/Debian/Command/.distfiles50
-rw-r--r--Completion/Debian/Type/.distfiles2
-rw-r--r--Completion/Linux/Command/.distfiles37
-rw-r--r--Completion/Linux/Type/.distfiles4
-rw-r--r--Completion/Mandriva/.distfiles1
-rw-r--r--Completion/Mandriva/Command/.distfiles3
-rw-r--r--Completion/Redhat/.distfiles1
-rw-r--r--Completion/Redhat/Command/.distfiles3
-rw-r--r--Completion/Solaris/Command/.distfiles26
-rw-r--r--Completion/Solaris/Type/.distfiles4
-rw-r--r--Completion/Unix/.distfiles1
-rw-r--r--Completion/Unix/Command/.distfiles277
-rw-r--r--Completion/Unix/Type/.distfiles54
-rw-r--r--Completion/X/.distfiles1
-rw-r--r--Completion/X/Command/.distfiles34
-rw-r--r--Completion/X/Type/.distfiles8
-rw-r--r--Completion/X/Utility/.distfiles2
-rw-r--r--Completion/Zsh/.distfiles1
-rw-r--r--Completion/Zsh/Command/.distfiles49
-rw-r--r--Completion/Zsh/Context/.distfiles17
-rw-r--r--Completion/Zsh/Function/.distfiles3
-rw-r--r--Completion/Zsh/Type/.distfiles25
-rw-r--r--Completion/openSUSE/Command/.distfiles6
-rw-r--r--Config/.distfiles4
-rw-r--r--Doc/.distfiles8
-rw-r--r--Doc/Zsh/.distfiles68
-rw-r--r--Doc/help/.distfiles2
-rw-r--r--Etc/.distfiles25
-rw-r--r--Functions/.distfiles1
-rw-r--r--Functions/Calendar/.distfiles12
-rw-r--r--Functions/Chpwd/.distfiles7
-rw-r--r--Functions/Compctl/.distfiles2
-rw-r--r--Functions/Example/.distfiles4
-rw-r--r--Functions/Exceptions/.distfiles2
-rw-r--r--Functions/MIME/.distfiles5
-rw-r--r--Functions/Misc/.distfiles32
-rw-r--r--Functions/Newuser/.distfiles2
-rw-r--r--Functions/Prompts/.distfiles20
-rw-r--r--Functions/TCP/.distfiles5
-rw-r--r--Functions/VCS_Info/.distfiles19
-rw-r--r--Functions/VCS_Info/Backends/.distfiles25
-rw-r--r--Functions/Zftp/.distfiles8
-rw-r--r--Functions/Zle/.distfiles48
-rw-r--r--Misc/.distfiles5
-rw-r--r--Scripts/.distfiles2
-rw-r--r--Src/.distfiles51
-rw-r--r--Src/Builtins/.distfiles3
-rw-r--r--Src/Modules/.distfiles59
-rw-r--r--Src/Zle/.distfiles12
-rw-r--r--StartupFiles/.distfiles2
-rw-r--r--Test/.distfiles50
-rw-r--r--Util/.distfiles6
-rwxr-xr-xUtil/mkdisttree.sh13
70 files changed, 63 insertions, 1193 deletions
diff --git a/.distfiles b/.distfiles
index 57262947c..d618a779f 100644
--- a/.distfiles
+++ b/.distfiles
@@ -1,8 +1,4 @@
 DISTFILES_SRC='
-    .cvsignore .distfiles .editorconfig .gitignore .preconfig Makefile.in
-    ChangeLog
-    FEATURES INSTALL LICENCE MACHINES META-FAQ NEWS README
-    aclocal.m4 aczsh.m4 configure.ac
+    META-FAQ
     configure config.h.in stamp-h.in
-    config.guess config.sub install-sh mkinstalldirs 
 '
diff --git a/ChangeLog b/ChangeLog
index 56452b70c..c4443f844 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,53 @@
 2014-08-23  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
+	* 33047: .distfiles, Completion/.distfiles,
+	Completion/AIX/.distfiles, Completion/AIX/Command/.distfiles,
+	Completion/AIX/Type/.distfiles, Completion/BSD/.distfiles,
+	Completion/BSD/Command/.distfiles, Completion/Base/.distfiles,
+	Completion/Base/Completer/.distfiles,
+	Completion/Base/Core/.distfiles,
+	Completion/Base/Utility/.distfiles,
+	Completion/Base/Widget/.distfiles,
+	Completion/Cygwin/Command/.distfiles,
+	Completion/Darwin/Command/.distfiles,
+	Completion/Darwin/Type/.distfiles, Completion/Debian/.distfiles,
+	Completion/Debian/Command/.distfiles,
+	Completion/Debian/Type/.distfiles,
+	Completion/Linux/Command/.distfiles,
+	Completion/Linux/Type/.distfiles,
+	Completion/Mandriva/.distfiles,
+	Completion/Mandriva/Command/.distfiles,
+	Completion/Redhat/.distfiles,
+	Completion/Redhat/Command/.distfiles,
+	Completion/Solaris/Command/.distfiles,
+	Completion/Solaris/Type/.distfiles, Completion/Unix/.distfiles,
+	Completion/Unix/Command/.distfiles,
+	Completion/Unix/Type/.distfiles, Completion/X/.distfiles,
+	Completion/X/Command/.distfiles, Completion/X/Type/.distfiles,
+	Completion/X/Utility/.distfiles, Completion/Zsh/.distfiles,
+	Completion/Zsh/Command/.distfiles,
+	Completion/Zsh/Context/.distfiles,
+	Completion/Zsh/Function/.distfiles,
+	Completion/Zsh/Type/.distfiles,
+	Completion/openSUSE/Command/.distfiles, Config/.distfiles,
+	Doc/.distfiles,Doc/Zsh/.distfiles, Doc/help/.distfiles,
+	Etc/.distfiles, Functions/.distfiles,
+	Functions/Calendar/.distfiles, Functions/Chpwd/.distfiles,
+	Functions/Compctl/.distfiles, Functions/Example/.distfiles,
+	Functions/Exceptions/.distfiles, Functions/MIME/.distfiles,
+	Functions/Misc/.distfiles, Functions/Newuser/.distfiles,
+	Functions/Prompts/.distfiles, Functions/TCP/.distfiles,
+	Functions/VCS_Info/.distfiles,
+	Functions/VCS_Info/Backends/.distfiles,
+	Functions/Zftp/.distfiles, Functions/Zle/.distfiles,
+	Misc/.distfiles, Scripts/.distfiles, Src/.distfiles,
+	Src/Builtins/.distfiles, Src/Modules/.distfiles,
+	Src/Zle/.distfiles, StartupFiles/.distfiles, Test/.distfiles,
+	Util/.distfiles, Util/mkdisttree.sh: Files controlled by git
+	are part of the source distribution unless explicitly included
+	in DISTFILES_NOT.  The .distfiles file is still needed for
+	the directory to be processed.
+
 	* unposted: Etc/.gitignore: ignore generated FAQ*.html files.
 
 2014-08-23  Barton E. Schaefer  <schaefer@zsh.org>
diff --git a/Completion/.distfiles b/Completion/.distfiles
index 65ab759c1..f03668b3a 100644
--- a/Completion/.distfiles
+++ b/Completion/.distfiles
@@ -1,5 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-.cvsignore   README       compaudit    compdump     compinit     compinstall
-bashcompinit
 '
diff --git a/Completion/AIX/.distfiles b/Completion/AIX/.distfiles
index 9e276f99b..f03668b3a 100644
--- a/Completion/AIX/.distfiles
+++ b/Completion/AIX/.distfiles
@@ -1,3 +1,2 @@
 DISTFILES_SRC='
-.distfiles
 '
diff --git a/Completion/AIX/Command/.distfiles b/Completion/AIX/Command/.distfiles
index 1f2ffc77d..f03668b3a 100644
--- a/Completion/AIX/Command/.distfiles
+++ b/Completion/AIX/Command/.distfiles
@@ -1,4 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_floppy  _lscfg   _lsdev   _lslv    _lspv    _lsvg    _smit
 '
diff --git a/Completion/AIX/Type/.distfiles b/Completion/AIX/Type/.distfiles
index 4103c6919..f03668b3a 100644
--- a/Completion/AIX/Type/.distfiles
+++ b/Completion/AIX/Type/.distfiles
@@ -1,4 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_logical_volumes   _object_classes    _physical_volumes  _volume_groups
 '
diff --git a/Completion/BSD/.distfiles b/Completion/BSD/.distfiles
index 9e276f99b..f03668b3a 100644
--- a/Completion/BSD/.distfiles
+++ b/Completion/BSD/.distfiles
@@ -1,3 +1,2 @@
 DISTFILES_SRC='
-.distfiles
 '
diff --git a/Completion/BSD/Command/.distfiles b/Completion/BSD/Command/.distfiles
index d08edf814..f03668b3a 100644
--- a/Completion/BSD/Command/.distfiles
+++ b/Completion/BSD/Command/.distfiles
@@ -1,19 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_bsd_pkg
-_chflags
-_csup
-_cvsup
-_fetch
-_freebsd-update
-_fstat
-_kld
-_pfctl
-_portaudit
-_portlint
-_portmaster
-_portsnap
-_powerd
-_procstat
-_sockstat
 '
diff --git a/Completion/Base/.distfiles b/Completion/Base/.distfiles
index 9e276f99b..f03668b3a 100644
--- a/Completion/Base/.distfiles
+++ b/Completion/Base/.distfiles
@@ -1,3 +1,2 @@
 DISTFILES_SRC='
-.distfiles
 '
diff --git a/Completion/Base/Completer/.distfiles b/Completion/Base/Completer/.distfiles
index 804c57990..f03668b3a 100644
--- a/Completion/Base/Completer/.distfiles
+++ b/Completion/Base/Completer/.distfiles
@@ -1,18 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_all_matches
-_approximate
-_complete
-_correct
-_expand
-_expand_alias
-_extensions
-_history
-_ignored
-_list
-_match
-_menu
-_oldlist
-_prefix
-_user_expand
 '
diff --git a/Completion/Base/Core/.distfiles b/Completion/Base/Core/.distfiles
index acb6695c9..f03668b3a 100644
--- a/Completion/Base/Core/.distfiles
+++ b/Completion/Base/Core/.distfiles
@@ -1,6 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_all_labels     _main_complete  _next_label     _requested      _tags
-_description    _message        _normal         _setup          _wanted
-_dispatch
 '
diff --git a/Completion/Base/Utility/.distfiles b/Completion/Base/Utility/.distfiles
index 91ddf881b..f03668b3a 100644
--- a/Completion/Base/Utility/.distfiles
+++ b/Completion/Base/Utility/.distfiles
@@ -1,25 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_alternative
-_arg_compile
-_arguments
-_cache_invalid
-_call_function
-_comp_locale
-_complete_help_generic
-_call_program
-_combination
-_set_command
-_describe
-_multi_parts
-_nothing
-_regex_arguments
-_retrieve_cache
-_sep_parts
-_store_cache
-_sub_commands
-_values
-_guard
-_pick_variant
-_regex_words
 '
diff --git a/Completion/Base/Widget/.distfiles b/Completion/Base/Widget/.distfiles
index f6c73a113..f03668b3a 100644
--- a/Completion/Base/Widget/.distfiles
+++ b/Completion/Base/Widget/.distfiles
@@ -1,7 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_bash_completions       _correct_filename       _history_complete_word
-_complete_debug         _correct_word           _most_recent_file
-_complete_help          _expand_word            _next_tags
-_complete_tag           _generic                _read_comp
 '
diff --git a/Completion/Cygwin/Command/.distfiles b/Completion/Cygwin/Command/.distfiles
index eec683b01..f03668b3a 100644
--- a/Completion/Cygwin/Command/.distfiles
+++ b/Completion/Cygwin/Command/.distfiles
@@ -1,7 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_cygcheck       _cygpath        _cygrunsrv      _cygserver
-_cygstart       _dumper         _getclip
-_mkshortcut     _mkzsh          _pscp           _putclip
-_readshortcut
 '
diff --git a/Completion/Darwin/Command/.distfiles b/Completion/Darwin/Command/.distfiles
index 5756f542d..f03668b3a 100644
--- a/Completion/Darwin/Command/.distfiles
+++ b/Completion/Darwin/Command/.distfiles
@@ -1,10 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_defaults
-_fink
-_hdiutil
-_open
-_qtplay
-_softwareupdate
-_system_profiler
 '
diff --git a/Completion/Darwin/Type/.distfiles b/Completion/Darwin/Type/.distfiles
index 059069d60..f03668b3a 100644
--- a/Completion/Darwin/Type/.distfiles
+++ b/Completion/Darwin/Type/.distfiles
@@ -1,4 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_mac_applications _mac_files_for_application _retrieve_mac_apps
 '
diff --git a/Completion/Debian/.distfiles b/Completion/Debian/.distfiles
index 9e276f99b..f03668b3a 100644
--- a/Completion/Debian/.distfiles
+++ b/Completion/Debian/.distfiles
@@ -1,3 +1,2 @@
 DISTFILES_SRC='
-.distfiles
 '
diff --git a/Completion/Debian/Command/.distfiles b/Completion/Debian/Command/.distfiles
index ed1575091..f03668b3a 100644
--- a/Completion/Debian/Command/.distfiles
+++ b/Completion/Debian/Command/.distfiles
@@ -1,52 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_a2utils
-_apt
-_apt-file
-_aptitude
-_apt-move
-_apt-show-versions
-_auto-apt
-_axi-cache
-_bts
-_bug
-_cdbs-edit-patch
-_dak
-_dchroot
-_dchroot-dsa
-_dcut
-_debchange
-_debdiff
-_debfoster
-_debsign
-_dlocate
-_dpatch-edit-patch
-_dpkg
-_dpkg-buildpackage
-_dpkg-cross
-_dpkg-repack
-_dpkg_source
-_dput
-_dupload
-_git-buildpackage
-_invoke-rc.d
-_lighttpd
-_lintian
-_madison
-_make-kpkg
-_members
-_mergechanges
-_module-assistant
-_pbuilder
-_piuparts
-_reprepro
-_schroot
-_svn-buildpackage
-_toolchain-source
-_update-alternatives
-_update-rc.d
-_uscan
-_wajig
-_wanna-build
-_vim-addons _grep-excuses
 '
diff --git a/Completion/Debian/Type/.distfiles b/Completion/Debian/Type/.distfiles
index 9f5db79db..f03668b3a 100644
--- a/Completion/Debian/Type/.distfiles
+++ b/Completion/Debian/Type/.distfiles
@@ -1,4 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_deb_packages
 '
diff --git a/Completion/Linux/Command/.distfiles b/Completion/Linux/Command/.distfiles
index e5edd5814..f03668b3a 100644
--- a/Completion/Linux/Command/.distfiles
+++ b/Completion/Linux/Command/.distfiles
@@ -1,39 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_acpi
-_acpitool
-_analyseplugin
-_brctl
-_btrfs
-_chrt
-_cryptsetup
-_docker
-_ethtool
-_fusermount
-_ionice
-_ipset
-_iptables
-_iwconfig
-_losetup
-_lsusb
-_mdadm
-_mii-tool
-_modutils
-_mondo
-_nmcli
-_pkgtool
-_rpmbuild
-_schedtool
-_ss
-_sshfs
-_strace
-_sysstat
-_tpb
-_tpconfig
-_tune2fs
-_uml
-_valgrind
-_vserver
-_wpa_cli
-_yast
 '
diff --git a/Completion/Linux/Type/.distfiles b/Completion/Linux/Type/.distfiles
index 36c1b6b65..f03668b3a 100644
--- a/Completion/Linux/Type/.distfiles
+++ b/Completion/Linux/Type/.distfiles
@@ -1,6 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_fuse_arguments
-_fuse_values
-_wakeup_capable_devices
 '
diff --git a/Completion/Mandriva/.distfiles b/Completion/Mandriva/.distfiles
index 9e276f99b..f03668b3a 100644
--- a/Completion/Mandriva/.distfiles
+++ b/Completion/Mandriva/.distfiles
@@ -1,3 +1,2 @@
 DISTFILES_SRC='
-.distfiles
 '
diff --git a/Completion/Mandriva/Command/.distfiles b/Completion/Mandriva/Command/.distfiles
index 72f101fd7..f03668b3a 100644
--- a/Completion/Mandriva/Command/.distfiles
+++ b/Completion/Mandriva/Command/.distfiles
@@ -1,5 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_urpmi
-_rebootin
 '
diff --git a/Completion/Redhat/.distfiles b/Completion/Redhat/.distfiles
index 9e276f99b..f03668b3a 100644
--- a/Completion/Redhat/.distfiles
+++ b/Completion/Redhat/.distfiles
@@ -1,3 +1,2 @@
 DISTFILES_SRC='
-.distfiles
 '
diff --git a/Completion/Redhat/Command/.distfiles b/Completion/Redhat/Command/.distfiles
index 8f8a5da63..f03668b3a 100644
--- a/Completion/Redhat/Command/.distfiles
+++ b/Completion/Redhat/Command/.distfiles
@@ -1,5 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_rpm
-_yum
 '
diff --git a/Completion/Solaris/Command/.distfiles b/Completion/Solaris/Command/.distfiles
index a900851aa..f03668b3a 100644
--- a/Completion/Solaris/Command/.distfiles
+++ b/Completion/Solaris/Command/.distfiles
@@ -1,28 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_beadm
-_coreadm
-_dhcpinfo
-_dladm
-_dtrace
-_dumpadm
-_flowadm
-_fmadm
-_gcore
-_inetadm
-_ipadm
-_netstat
-_pfexec
-_pkg5
-_prstat
-_ps
-_ptree
-_savecore
-_snoop
-_svcadm
-_svccfg
-_svcprop
-_svcs
-_zlogin
-_zoneadm
 '
diff --git a/Completion/Solaris/Type/.distfiles b/Completion/Solaris/Type/.distfiles
index 2f937ee13..f03668b3a 100644
--- a/Completion/Solaris/Type/.distfiles
+++ b/Completion/Solaris/Type/.distfiles
@@ -1,6 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_be_name
-_svcs_fmri
-_zones
 '
diff --git a/Completion/Unix/.distfiles b/Completion/Unix/.distfiles
index 9e276f99b..f03668b3a 100644
--- a/Completion/Unix/.distfiles
+++ b/Completion/Unix/.distfiles
@@ -1,3 +1,2 @@
 DISTFILES_SRC='
-.distfiles
 '
diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles
index 35d81b2d2..f03668b3a 100644
--- a/Completion/Unix/Command/.distfiles
+++ b/Completion/Unix/Command/.distfiles
@@ -1,279 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_a2ps
-_aap
-_adb
-_ant
-_antiword
-_apachectl
-_apm
-_arp
-_arping
-_at
-_attr
-_awk
-_baz
-_bison
-_bittorrent
-_bogofilter
-_bpython
-_bzip2
-_bzr
-_cal
-_calendar
-_cat
-_ccal
-_cdcd
-_cdrdao
-_cdrecord
-_chkconfig
-_chmod
-_chown
-_chsh
-_clay
-_comm
-_compress
-_configure
-_cowsay
-_cp
-_cpio
-_cplay
-_cssh
-_cut
-_cvs
-_darcs
-_date
-_dbus
-_dd
-_devtodo
-_df
-_dhclient
-_dict
-_diff
-_diffstat
-_django
-_dmidecode
-_du
-_dvi
-_ecasound
-_elinks
-_elm
-_enscript
-_env
-_espeak
-_etags
-_fakeroot
-_feh
-_fetchmail
-_ffmpeg
-_figlet
-_find
-_finger
-_flasher
-_flex
-_fortune
-_fsh
-_fuser
-_gcc
-_gdb
-_genisoimage
-_getconf
-_getent
-_getfacl
-_getmail
-_git
-_global
-_gnu_generic
-_gnupod
-_gnutls
-_go
-_gpg
-_gphoto2
-_gprof
-_gradle
-_graphicsmagick
-_grep
-_groff
-_growisofs
-_gs
-_guilt
-_gzip
-_hg
-_iconv
-_id
-_ifconfig
-_iftop
-_imagemagick
-_init_d
-_initctl
-_ip
-_irssi
-_ispell
-_java
-_joe
-_join
-_killall
-_knock
-_kvno
-_last
-_ldd
-_less
-_lha
-_links
-_ln
-_loadkeys
-_locate
-_look
-_lp
-_ls
-_lsof
-_lynx
-_lzop
-_mail
-_make
-_man
-_md5sum
-_mencal
-_metaflac
-_mh
-_mkdir
-_module
-_monotone
-_moosic
-_mosh
-_mount
-_mpc
-_mt
-_mtools
-_mtr
-_mutt
-_mysql_utils
-_mysqldiff
-_ncftp
-_netcat
-_nice
-_nkf
-_nm
-_nmap
-_notmuch
-_npm
-_nslookup
-_od
-_pack
-_patch
-_pax
-_pbm
-_perforce
-_perl
-_perldoc
-_pgrep
-_php
-_pine
-_ping
-_pkg-config
-_pkg_instance
-_pkgadd
-_pkginfo
-_pkgrm
-_pon
-_postfix
-_prcs
-_printenv
-_prove
-_psutils
-_pump
-_pydoc
-_python
-_qemu
-_quilt
-_raggle
-_rake
-_ranlib
-_rar
-_rcs
-_renice
-_ri
-_rlogin
-_rm
-_rrdtool
-_rsync
-_rubber
-_ruby
-_sablotron
-_samba
-_sccs
-_screen
-_sed
-_service
-_setfacl
-_sh
-_showmount
-_sisu
-_slrn
-_socket
-_sort
-_spamassassin
-_sqlite
-_sqsh
-_ssh
-_stgit
-_strip
-_stty
-_su
-_subversion
-_sudo
-_surfraw
-_sysctl
-_systemd
-_tar
-_tardy
-_tcpdump
-_tcptraceroute
-_telnet
-_tex
-_texinfo
-_tidy
-_tiff
-_tin
-_tla
-_tmux
-_todo.sh
-_toilet
-_topgit
-_totd
-_tracepath
-_tree
-_twidge
-_twisted
-_unace
-_uname
-_unexpand
-_uniq
-_unison
-_units
-_user_admin
-_uzbl
-_vcsh
-_vim
-_vorbis
-_vorbiscomment
-_vux
-_w3m
-_webbrowser
-_wget
-_whereis
-_whois
-_wiggle
-_xargs
-_xmlsoft
-_xmms2
-_xz
-_yafc
-_yodl
-_yp
-_zcat
-_zdump
-_zfs
-_zip
-_zpool
 '
diff --git a/Completion/Unix/Type/.distfiles b/Completion/Unix/Type/.distfiles
index ea0baa7c7..f03668b3a 100644
--- a/Completion/Unix/Type/.distfiles
+++ b/Completion/Unix/Type/.distfiles
@@ -1,56 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_arch_archives
-_arch_namespace
-_bind_addresses
-_canonical_paths
-_ctags_tags
-_dict_words
-_diff_options
-_dir_list
-_directories
-_domains
-_email_addresses
-_file_systems
-_files
-_global_tags
-_groups
-_have_glob_qual
-_hosts
-_java_class
-_ld_debug
-_list_files
-_locales
-_mailboxes
-_mime_types
-_my_accounts
-_net_interfaces
-_newsgroups
-_other_accounts
-_path_commands
-_path_files
-_pdf
-_perl_basepods
-_perl_modules
-_pids
-_ports
-_postscript
-_printers
-_ps1234
-_pspdf
-_remote_files
-_services
-_signals
-_tar_archive
-_terminals
-_texi
-_tilde_files
-_time_zone
-_urls
-_user_at_host
-_users
-_users_on
-_zfs_dataset
-_zfs_keysource_props
-_zfs_pool
 '
diff --git a/Completion/X/.distfiles b/Completion/X/.distfiles
index 9e276f99b..f03668b3a 100644
--- a/Completion/X/.distfiles
+++ b/Completion/X/.distfiles
@@ -1,3 +1,2 @@
 DISTFILES_SRC='
-.distfiles
 '
diff --git a/Completion/X/Command/.distfiles b/Completion/X/Command/.distfiles
index c6835ea54..f03668b3a 100644
--- a/Completion/X/Command/.distfiles
+++ b/Completion/X/Command/.distfiles
@@ -1,36 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_acroread
-_dcop
-_gnome-gv
-_gqview
-_gv
-_kfmclient
-_matlab
-_mozilla
-_mplayer
-_nautilus
-_nedit
-_netscape
-_okular
-_pdftk
-_qiv
-_setxkbmap
-_urxvt
-_vnc
-_x_utils
-_xauth
-_xclip
-_xdvi
-_xfig
-_xloadimage
-_xmodmap
-_xournal
-_xpdf
-_xscreensaver
-_xset
-_xterm
-_xv
-_xwit
-_xrandr
 '
diff --git a/Completion/X/Type/.distfiles b/Completion/X/Type/.distfiles
index fa5c16ce0..f03668b3a 100644
--- a/Completion/X/Type/.distfiles
+++ b/Completion/X/Type/.distfiles
@@ -1,10 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_x_borderwidth        _x_font               _x_resource
-_x_color              _x_geometry           _x_selection_timeout
-_x_colormapid         _x_keysym             _x_title
-_x_cursor             _x_locale             _x_window
-_x_display            _x_modifier           _xt_session_id
-_x_extension          _x_name               _x_visual
-_xft_fonts
 '
diff --git a/Completion/X/Utility/.distfiles b/Completion/X/Utility/.distfiles
index 44337f471..f03668b3a 100644
--- a/Completion/X/Utility/.distfiles
+++ b/Completion/X/Utility/.distfiles
@@ -1,4 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_x_arguments   _xt_arguments
 '
diff --git a/Completion/Zsh/.distfiles b/Completion/Zsh/.distfiles
index 9e276f99b..f03668b3a 100644
--- a/Completion/Zsh/.distfiles
+++ b/Completion/Zsh/.distfiles
@@ -1,3 +1,2 @@
 DISTFILES_SRC='
-.distfiles
 '
diff --git a/Completion/Zsh/Command/.distfiles b/Completion/Zsh/Command/.distfiles
index bf780a2a0..f03668b3a 100644
--- a/Completion/Zsh/Command/.distfiles
+++ b/Completion/Zsh/Command/.distfiles
@@ -1,51 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_alias
-_bindkey
-_builtin
-_cd
-_command
-_compdef
-_dirs
-_disable
-_echotc
-_echoti
-_emulate
-_enable
-_fc
-_hash
-_jobs_builtin
-_kill
-_limit
-_mere
-_precommand
-_print
-_prompt
-_read
-_run-help
-_sched
-_set
-_setopt
-_source
-_stat
-_tcpsys
-_trap
-_ttyctl
-_typeset
-_ulimit
-_unhash
-_unsetopt
-_vared
-_wait
-_which
-_zattr
-_zcompile
-_zed
-_zftp
-_zle
-_zmodload
-_zmv
-_zpty
-_zstyle
-_ztodo
 '
diff --git a/Completion/Zsh/Context/.distfiles b/Completion/Zsh/Context/.distfiles
index 1537229f8..f03668b3a 100644
--- a/Completion/Zsh/Context/.distfiles
+++ b/Completion/Zsh/Context/.distfiles
@@ -1,19 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_assign
-_autocd
-_brace_parameter
-_condition
-_default
-_dynamic_directory_name
-_equal
-_first
-_in_vared
-_math
-_parameter
-_redirect
-_subscript
-_tilde
-_value
-_zcalc_line
 '
diff --git a/Completion/Zsh/Function/.distfiles b/Completion/Zsh/Function/.distfiles
index 20b5dc6a6..f03668b3a 100644
--- a/Completion/Zsh/Function/.distfiles
+++ b/Completion/Zsh/Function/.distfiles
@@ -1,5 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_zargs
-_zsh-mime-handler
 '
diff --git a/Completion/Zsh/Type/.distfiles b/Completion/Zsh/Type/.distfiles
index 4011353a0..f03668b3a 100644
--- a/Completion/Zsh/Type/.distfiles
+++ b/Completion/Zsh/Type/.distfiles
@@ -1,27 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_aliases
-_arrays
-_command_names
-_delimiters
-_directory_stack
-_file_descriptors
-_functions
-_globflags
-_globqual_delims
-_globquals
-_history_modifiers
-_jobs
-_jobs_bg
-_jobs_fg
-_limits
-_math_params
-_module_math_func
-_options
-_options_set
-_options_unset
-_parameters
-_suffix_alias_files
-_user_math_func
-_vars
 '
diff --git a/Completion/openSUSE/Command/.distfiles b/Completion/openSUSE/Command/.distfiles
index 995d12e36..f03668b3a 100644
--- a/Completion/openSUSE/Command/.distfiles
+++ b/Completion/openSUSE/Command/.distfiles
@@ -1,8 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-_hwinfo
-_osc
-_SUSEconfig
-_yast2
-_zypper
 '
diff --git a/Config/.distfiles b/Config/.distfiles
index d76f98841..f03668b3a 100644
--- a/Config/.distfiles
+++ b/Config/.distfiles
@@ -1,6 +1,2 @@
 DISTFILES_SRC='
-    .distfiles .cvsignore
-    aczshoot.m4
-    clean.mk config.mk defs.mk.in version.mk
-    installfns.sh uninstallfns.sh
 '
diff --git a/Doc/.distfiles b/Doc/.distfiles
index 6c2b2119f..8c910da7b 100644
--- a/Doc/.distfiles
+++ b/Doc/.distfiles
@@ -1,11 +1,5 @@
 DISTFILES_SRC='
-    .cvsignore .distfiles Makefile.in
-    META-FAQ.yo intro.ms
-    version.yo zmacros.yo zman.yo ztexi.yo
-    zsh.yo zshbuiltins.yo zshcalsys.yo
-    zshcompctl.yo zshcompsys.yo zshcompwid.yo
-    zshexpn.yo zshmisc.yo zshmodules.yo zshoptions.yo zshparam.yo
-    zshroadmap.yo zshzftpsys.yo zshzle.yo zshcontrib.yo zshtcpsys.yo
+    version.yo
     zsh.texi
     zsh.1 zshbuiltins.1 zshcalsys.1
     zshcompctl.1 zshcompsys.1 zshcompwid.1 zshexpn.1
diff --git a/Doc/Zsh/.distfiles b/Doc/Zsh/.distfiles
index 4f521e91c..22fd53a29 100644
--- a/Doc/Zsh/.distfiles
+++ b/Doc/Zsh/.distfiles
@@ -1,73 +1,5 @@
 DISTFILES_SRC='
-.cvsignore
-.distfiles
-arith.yo
-builtins.yo
-calsys.yo
-compat.yo
-compctl.yo
-compsys.yo
-compwid.yo
-cond.yo
-contrib.yo
-exec.yo
-expn.yo
-filelist.yo
-files.yo
-ftp_sites.yo
-func.yo
-grammar.yo
-index.yo
-intro.yo
-invoke.yo
-jobs.yo
 manmodmenu.yo
-manual.yo
-metafaq.yo
-mod_attr.yo
-mod_cap.yo
-mod_clone.yo
-mod_compctl.yo
-mod_complete.yo
-mod_complist.yo
-mod_computil.yo
-mod_curses.yo
-mod_datetime.yo
-mod_deltochar.yo
-mod_example.yo
-mod_files.yo
-mod_langinfo.yo
 modlist.yo
-mod_mapfile.yo
-mod_mathfunc.yo
 modmenu.yo
-mod_newuser.yo
-mod_parameter.yo
-mod_pcre.yo
-mod_regex.yo
-mod_sched.yo
-mod_socket.yo
-mod_stat.yo
-mod_system.yo
-mod_tcp.yo
-mod_termcap.yo
-mod_terminfo.yo
-modules.yo
-mod_zftp.yo
-mod_zleparameter.yo
-mod_zle.yo
-mod_zprof.yo
-mod_zpty.yo
-mod_zselect.yo
-mod_zutil.yo
-options.yo
-params.yo
-prompt.yo
-redirect.yo
-restricted.yo
-roadmap.yo
-seealso.yo
-tcpsys.yo
-zftpsys.yo
-zle.yo
 '
diff --git a/Doc/help/.distfiles b/Doc/help/.distfiles
index 60962adf4..6424d95f8 100644
--- a/Doc/help/.distfiles
+++ b/Doc/help/.distfiles
@@ -1,5 +1,3 @@
 DISTFILES_SRC='
-    .cvsignore
-    .distfiles
     [_a-zA-Z0-9]*
 '
diff --git a/Etc/.distfiles b/Etc/.distfiles
index 8c1218e72..d5034ec2e 100644
--- a/Etc/.distfiles
+++ b/Etc/.distfiles
@@ -1,30 +1,5 @@
 DISTFILES_SRC='
-.cvsignore
-.distfiles
-BUGS
-CONTRIBUTORS
-ChangeLog-3.0
-ChangeLog-3.1
-ChangeLog-4.1
-ChangeLog-4.3
 FAQ
-FAQ.yo
-FTP-README
-Makefile.in
-NEWS-4.3
-STD-TODO TODO
-changelog2html.pl
-completion-style-guide
-pubring.pgp
-relnote_4.3.5.txt
-relnote_4.3.6.txt
-relnote_4.3.7.txt
-relnote_4.3.8.txt
-relnote_4.3.9.txt
-relnote_4.3.10.txt
-relnote_4.3.12.txt
-relnote_5.0.0.txt
-zsh-development-guide
 '
 
 DISTFILES_DOC='
diff --git a/Functions/.distfiles b/Functions/.distfiles
index e538ad218..f03668b3a 100644
--- a/Functions/.distfiles
+++ b/Functions/.distfiles
@@ -1,3 +1,2 @@
 DISTFILES_SRC='
-    .cvsignore .distfiles README.zftp
 '
diff --git a/Functions/Calendar/.distfiles b/Functions/Calendar/.distfiles
index 7c14c384a..f03668b3a 100644
--- a/Functions/Calendar/.distfiles
+++ b/Functions/Calendar/.distfiles
@@ -1,14 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-age
-calendar
-calendar_add
-calendar_edit
-calendar_lockfiles
-calendar_parse
-calendar_read
-calendar_scandate
-calendar_show
-calendar_showdate
-calendar_sort
 '
diff --git a/Functions/Chpwd/.distfiles b/Functions/Chpwd/.distfiles
index 89779a686..f03668b3a 100644
--- a/Functions/Chpwd/.distfiles
+++ b/Functions/Chpwd/.distfiles
@@ -1,9 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-cdr
-_cdr
-chpwd_recent_add
-chpwd_recent_dirs
-chpwd_recent_filehandler
-zsh_directory_name_cdr
 '
diff --git a/Functions/Compctl/.distfiles b/Functions/Compctl/.distfiles
index d4eea91f5..f03668b3a 100644
--- a/Functions/Compctl/.distfiles
+++ b/Functions/Compctl/.distfiles
@@ -1,4 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-cdmatch    cdmatch2   multicomp
 '
diff --git a/Functions/Example/.distfiles b/Functions/Example/.distfiles
index 26cffafbf..f03668b3a 100644
--- a/Functions/Example/.distfiles
+++ b/Functions/Example/.distfiles
@@ -1,6 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-acx       cx        pushd     yp        zless
-cat       proto     randline  yu        zls
-zpgrep
 '
diff --git a/Functions/Exceptions/.distfiles b/Functions/Exceptions/.distfiles
index 8b697438c..f03668b3a 100644
--- a/Functions/Exceptions/.distfiles
+++ b/Functions/Exceptions/.distfiles
@@ -1,4 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-catch   throw
 '
diff --git a/Functions/MIME/.distfiles b/Functions/MIME/.distfiles
index 93c13f7da..f03668b3a 100644
--- a/Functions/MIME/.distfiles
+++ b/Functions/MIME/.distfiles
@@ -1,7 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-pick-web-browser
-zsh-mime-contexts
-zsh-mime-handler
-zsh-mime-setup
 '
diff --git a/Functions/Misc/.distfiles b/Functions/Misc/.distfiles
index 5efb17876..f03668b3a 100644
--- a/Functions/Misc/.distfiles
+++ b/Functions/Misc/.distfiles
@@ -1,34 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-add-zsh-hook
-allopt
-checkmail
-colors
-getjobs
-harden
-is-at-least
-mere
-nslookup
-promptnl
-regexp-replace
-relative
-run-help
-run-help-git
-run-help-openssl
-run-help-p4
-run-help-sudo
-run-help-svk
-run-help-svn
-sticky-note
-tetris
-xtermctl
-zargs
-zcalc
-zed
-zkbd
-zmathfuncdef
-zmv
-zrecompile
-zstyle+
-ztodo
 '
diff --git a/Functions/Newuser/.distfiles b/Functions/Newuser/.distfiles
index 9012263a2..f03668b3a 100644
--- a/Functions/Newuser/.distfiles
+++ b/Functions/Newuser/.distfiles
@@ -1,4 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-zsh-newuser-install
 '
diff --git a/Functions/Prompts/.distfiles b/Functions/Prompts/.distfiles
index dd18a5e41..f03668b3a 100644
--- a/Functions/Prompts/.distfiles
+++ b/Functions/Prompts/.distfiles
@@ -1,20 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-prompt_adam1_setup
-prompt_adam2_setup
-prompt_bart_setup
-prompt_bigfade_setup
-prompt_clint_setup
-prompt_elite2_setup
-prompt_elite_setup
-prompt_fade_setup
-prompt_fire_setup
-prompt_off_setup
-prompt_oliver_setup
-prompt_pws_setup
-prompt_redhat_setup
-prompt_special_chars
-prompt_suse_setup
-prompt_walters_setup
-prompt_zefram_setup
-promptinit'
+'
diff --git a/Functions/TCP/.distfiles b/Functions/TCP/.distfiles
index 00d37ca54..f03668b3a 100644
--- a/Functions/TCP/.distfiles
+++ b/Functions/TCP/.distfiles
@@ -1,7 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-tcp_command tcp_log        tcp_proxy   tcp_send    tcp_talk
-tcp_alias  tcp_expect	   tcp_open    tcp_read    tcp_sess  tcp_wait
-tcp_close  tcp_fd_handler  tcp_output  tcp_rename  tcp_spam
-tcp_point  tcp_shoot
 '
diff --git a/Functions/VCS_Info/.distfiles b/Functions/VCS_Info/.distfiles
index b6e55d2fc..f03668b3a 100644
--- a/Functions/VCS_Info/.distfiles
+++ b/Functions/VCS_Info/.distfiles
@@ -1,21 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-vcs_info
-vcs_info_hookadd
-vcs_info_hookdel
-VCS_INFO_adjust
-VCS_INFO_bydir_detect
-VCS_INFO_check_com
-VCS_INFO_formats
-VCS_INFO_get_cmd
-VCS_INFO_hook
-vcs_info_lastmsg
-VCS_INFO_maxexports
-VCS_INFO_nvcsformats
-vcs_info_printsys
-VCS_INFO_quilt
-VCS_INFO_realpath
-VCS_INFO_reposub
-VCS_INFO_set
-vcs_info_setsys
 '
diff --git a/Functions/VCS_Info/Backends/.distfiles b/Functions/VCS_Info/Backends/.distfiles
index 67fb06cda..f03668b3a 100644
--- a/Functions/VCS_Info/Backends/.distfiles
+++ b/Functions/VCS_Info/Backends/.distfiles
@@ -1,27 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-VCS_INFO_detect_bzr
-VCS_INFO_detect_cdv
-VCS_INFO_detect_cvs
-VCS_INFO_detect_darcs
-VCS_INFO_detect_fossil
-VCS_INFO_detect_git
-VCS_INFO_detect_hg
-VCS_INFO_detect_mtn
-VCS_INFO_detect_p4
-VCS_INFO_detect_svk
-VCS_INFO_detect_svn
-VCS_INFO_detect_tla
-VCS_INFO_get_data_bzr
-VCS_INFO_get_data_cdv
-VCS_INFO_get_data_cvs
-VCS_INFO_get_data_darcs
-VCS_INFO_get_data_fossil
-VCS_INFO_get_data_git
-VCS_INFO_get_data_hg
-VCS_INFO_get_data_mtn
-VCS_INFO_get_data_p4
-VCS_INFO_get_data_svk
-VCS_INFO_get_data_svn
-VCS_INFO_get_data_tla
 '
diff --git a/Functions/Zftp/.distfiles b/Functions/Zftp/.distfiles
index c8d8f8152..f03668b3a 100644
--- a/Functions/Zftp/.distfiles
+++ b/Functions/Zftp/.distfiles
@@ -1,10 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-zfanon         zfdir          zfinit         zfrglob        zftype
-zfautocheck    zffcache       zfls           zfrtime        zfuget
-zfcd           zfgcp          zfmark         zfsession      zfuput
-zfcd_match     zfget          zfopen         zfstat
-zfcget         zfget_match    zfparams       zftp_chpwd
-zfclose        zfgoto         zfpcp          zftp_progress
-zfcput         zfhere         zfput          zftransfer
 '
diff --git a/Functions/Zle/.distfiles b/Functions/Zle/.distfiles
index 90a07690b..f03668b3a 100644
--- a/Functions/Zle/.distfiles
+++ b/Functions/Zle/.distfiles
@@ -1,50 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-backward-kill-word-match
-backward-word-match
-capitalize-word-match
-copy-earlier-word
-cycle-completion-positions
-define-composed-chars
-delete-whole-word-match
-down-case-word-match
-down-line-or-beginning-search
-edit-command-line
-expand-absolute-path
-forward-word-match
-history-beginning-search-menu
-history-pattern-search
-history-search-end
-incarg
-incremental-complete-word
-insert-composed-char
-insert-files
-insert-unicode-char
-keeper
-keymap+widget
-kill-word-match
-match-word-context
-match-words-by-style
-modify-current-argument
-move-line-in-buffer
-narrow-to-region
-narrow-to-region-invisible
-predict-on
-quote-and-complete-word
-read-from-minibuffer
-replace-argument
-replace-string
-replace-string-again
-select-word-style
-send-invisible
-smart-insert-last-word
-split-shell-arguments
-transpose-lines
-transpose-words-match
-up-case-word-match
-up-line-or-beginning-search
-url-quote-magic
-which-command
-zcalc-auto-insert
-zed-set-file-name
 '
diff --git a/Misc/.distfiles b/Misc/.distfiles
index d40656c0d..f03668b3a 100644
--- a/Misc/.distfiles
+++ b/Misc/.distfiles
@@ -1,7 +1,2 @@
 DISTFILES_SRC='
-    .distfiles
-    bash2zshprompt
-    c2z compctl-examples globtests globtests.ksh
-    job-control-tests lete2ctl make-zsh-urls
-    vcs_info-examples
 '
diff --git a/Scripts/.distfiles b/Scripts/.distfiles
index 2232f305c..f03668b3a 100644
--- a/Scripts/.distfiles
+++ b/Scripts/.distfiles
@@ -1,4 +1,2 @@
 DISTFILES_SRC='
-.distfiles
-newuser
 '
diff --git a/Src/.distfiles b/Src/.distfiles
index 1da58ea17..f03668b3a 100644
--- a/Src/.distfiles
+++ b/Src/.distfiles
@@ -1,53 +1,2 @@
 DISTFILES_SRC='
-.cvsignore
-.distfiles
-.exrc
-.indent.pro
-Makefile.in
-Makemod.in.in
-signames1.awk
-signames2.awk
-modentry.c
-builtin.c
-compat.c
-cond.c
-exec.c
-glob.c
-hashtable.c
-hashtable.h
-hashnameddir.c
-hist.c
-init.c
-input.c
-jobs.c
-lex.c
-linklist.c
-loop.c
-main.c
-makepro.awk
-math.c
-mem.c
-mkbltnmlst.sh
-mkmakemod.sh
-module.c
-options.c
-params.c
-parse.c
-pattern.c
-prompt.c
-prototypes.h
-signals.c
-signals.h
-sort.c
-string.c
-subst.c
-text.c
-utils.c
-watch.c
-zsh.h
-zsh.mdd
-zsh_system.h
-ztype.h
-zsh.rc
-zsh.ico
 '
diff --git a/Src/Builtins/.distfiles b/Src/Builtins/.distfiles
index cd36388ef..f03668b3a 100644
--- a/Src/Builtins/.distfiles
+++ b/Src/Builtins/.distfiles
@@ -1,5 +1,2 @@
 DISTFILES_SRC='
-    .cvsignore .distfiles .exrc
-    rlimits.mdd rlimits.c rlimits.awk
-    sched.mdd sched.c
 '
diff --git a/Src/Modules/.distfiles b/Src/Modules/.distfiles
index 9231cecb3..f03668b3a 100644
--- a/Src/Modules/.distfiles
+++ b/Src/Modules/.distfiles
@@ -1,61 +1,2 @@
 DISTFILES_SRC='
-.cvsignore
-.distfiles
-.exrc
-attr.mdd
-attr.c
-cap.mdd
-cap.c
-clone.mdd
-clone.c
-curses.mdd
-curses.c
-curses_keys.awk
-datetime.mdd
-datetime.c
-db_gdbm.mdd
-db_gdbm.c
-example.mdd
-example.c
-files.mdd
-files.c
-langinfo.mdd
-langinfo.c
-mapfile.mdd
-mapfile.c
-mathfunc.mdd
-mathfunc.c
-newuser.mdd
-newuser.c
-parameter.mdd
-parameter.c
-pcre.mdd
-pcre.c
-regex.mdd
-regex.c
-socket.mdd
-socket.c
-stat.mdd
-stat.c
-system.mdd
-system.c
-errnames1.awk
-errnames2.awk
-tcp.mdd
-tcp.c
-tcp.h
-termcap.mdd
-termcap.c
-terminfo.mdd
-terminfo.c
-zftp.mdd
-zftp.c
-zprof.mdd
-zprof.c
-zselect.mdd
-zselect.c
-zutil.mdd
-zutil.c
-zpty.mdd
-zpty.c
 '
diff --git a/Src/Zle/.distfiles b/Src/Zle/.distfiles
index e280a0199..f03668b3a 100644
--- a/Src/Zle/.distfiles
+++ b/Src/Zle/.distfiles
@@ -1,14 +1,2 @@
 DISTFILES_SRC='
-    .cvsignore .distfiles .exrc
-    comp.h complete.mdd complete.c
-    compcore.c compmatch.c compresult.c
-    compctl.mdd compctl.c compctl.h
-    complist.mdd complist.c
-    computil.mdd computil.c
-    deltochar.mdd deltochar.c
-    zleparameter.mdd zleparameter.c
-    zle.mdd iwidgets.list zle.h zle_bindings.c zle_hist.c
-    zle_keymap.c zle_main.c zle_misc.c zle_move.c zle_params.c
-    zle_refresh.c zle_things.sed zle_thingy.c zle_tricky.c
-    zle_utils.c zle_vi.c zle_widget.sed zle_word.c
 '
diff --git a/StartupFiles/.distfiles b/StartupFiles/.distfiles
index 7058eddc0..f03668b3a 100644
--- a/StartupFiles/.distfiles
+++ b/StartupFiles/.distfiles
@@ -1,4 +1,2 @@
 DISTFILES_SRC='
-    .distfiles
-    zlogin zshenv zshrc
 '
diff --git a/Test/.distfiles b/Test/.distfiles
index 5826e7574..f03668b3a 100644
--- a/Test/.distfiles
+++ b/Test/.distfiles
@@ -1,52 +1,2 @@
 DISTFILES_SRC='
-.cvsignore
-.distfiles
-A01grammar.ztst
-A02alias.ztst
-A03quoting.ztst
-A04redirect.ztst
-A05execution.ztst
-A06assign.ztst
-A07control.ztst
-B01cd.ztst
-B02typeset.ztst
-B03print.ztst
-B04read.ztst
-B05eval.ztst
-B06fc.ztst
-B07emulate.ztst
-B08shift.ztst
-C01arith.ztst
-C02cond.ztst
-C03traps.ztst
-C04funcdef.ztst
-C05debug.ztst
-D01prompt.ztst
-D02glob.ztst
-D03procsubst.ztst
-D04parameter.ztst
-D05array.ztst
-D06subscript.ztst
-D07multibyte.ztst
-D08cmdsubst.ztst
-D09brace.ztst
-E01options.ztst
-E02xtrace.ztst
-Makefile.in
-README
-V01zmodload.ztst
-V02zregexparse.ztst
-V03mathfunc.ztst
-V04features.ztst
-V05styles.ztst
-V06parameter.ztst
-V07pcre.ztst
-V08zpty.ztst
-X02zlevi.ztst
-Y01completion.ztst
-Y02compmatch.ztst
-Y03arguments.ztst
-comptest
-runtests.zsh
-ztst.zsh
 '
diff --git a/Util/.distfiles b/Util/.distfiles
index 162ace386..411938591 100644
--- a/Util/.distfiles
+++ b/Util/.distfiles
@@ -1,10 +1,4 @@
 DISTFILES_SRC='
-    .distfiles
-    check_exports
-    helpfiles
-    mkdisttree.sh
-    preconfig
-    reporter
 '
 DISTFILES_NOT='
     difflog.pl
diff --git a/Util/mkdisttree.sh b/Util/mkdisttree.sh
index 17b936ed7..2d55b06f8 100755
--- a/Util/mkdisttree.sh
+++ b/Util/mkdisttree.sh
@@ -51,9 +51,15 @@ trap 'rm -f $filelist; rm -rf $disttree; exit 1' 1 2 15
 ( while read dfn; do
     subdir=`echo $dfn | sed 's,/\.distfiles$,,'`
     echo >&2 "Processing directory $subdir..."
-    eval "DISTFILES_$type="
+    eval "DISTFILES_$type= DISTFILES_NOT="
     . $sdir_top/$dfn
     eval "distfiles=\$DISTFILES_$type"
+    if [ $type = SRC ]; then
+	# All files in git appear in the source bundle, unless
+	# explicitly excluded with DISTFILES_NOT.
+	distfiles="$distfiles
+        `cd $sdir_top/$subdir; git ls-files | grep -v /`"
+    fi
     if test -n "$distfiles"; then
 	cmds=`echo "$distfiles" | sed -e "$sed_separate"`
 	eval "$cmds"
@@ -62,6 +68,11 @@ trap 'rm -f $filelist; rm -rf $disttree; exit 1' 1 2 15
 	fi
 	$sdir_top/mkinstalldirs $disttree/$subdir || exit 1
 	for f in $deplist `test -z "$globlist" || ( cd $dir_top/$subdir && eval "echo $globlist")`; do
+	    for fnot in $DISTFILES_NOT; do
+		if [ $fnot = $f ]; then
+		    continue 2
+		fi
+	    done
 	    if test -f $dir_top/$subdir/$f; then
 #		ln $dir_top/$subdir/$f $disttree/$subdir/$f || \
 		    cp -p $dir_top/$subdir/$f $disttree/$subdir/$f || exit 1