3 # Copyright (C) 2005, 2008 Free Software Foundation, Inc.
5 # This gendistlist.sh is free software; the author
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # Generate a list of distributed files.
16 EXTRA_DISTFILES
="AUTHORS COPYING ChangeLog DISTLIST INSTALL NEWS README \
17 THANKS TODO Makefile.in aclocal.m4 autogen.sh config.guess \
18 config.h.in config.sub configure configure.ac gencmdlist.sh \
19 gendistlist.sh genfslist.sh geninit.sh geninitheader.sh genkernsyms.sh.in \
20 genmk.rb genmoddep.awk genmodsrc.sh genpartmaplist.sh gensymlist.sh.in
21 install-sh mkinstalldirs stamp-h.in"
23 DISTDIRS
="boot bus commands conf disk docs font fs hello hook include io kern lib \
24 loader normal partmap term util video"
29 for f
in $EXTRA_DISTFILES; do
36 for dir
in $DISTDIRS; do
37 for d
in `find $dir -type d | sort`; do
38 find $d -maxdepth 1 -name '*.[chSy]' -o -name '*.mk' -o -name '*.rmk' \
39 -o -name '*.rb' -o -name '*.in' -o -name '*.tex' -o -name '*.texi' \
40 -o -name 'grub.cfg' -o -name 'README' -o -name '*.sc' -o -name 'mdate.sh' \