2008-04-04 Pavel Roskin <proski@gnu.org>
[grub2/bean.git] / gendistlist.sh
blobf89365a1a12c4dba94ddd4f192749780a3f403fe
1 #! /bin/sh
3 # Copyright (C) 2005 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
12 # PARTICULAR PURPOSE.
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 genkernsyms.sh genmk.rb \
20 genmodsrc.sh gensymlist.sh install-sh mkinstalldirs stamp-h.in"
22 DISTDIRS="boot commands conf disk font fs hello include io kern loader \
23 normal partmap term util video"
25 for f in $EXTRA_DISTFILES; do
26 echo $f
27 done
29 dir=`dirname $0`
30 cd $dir
32 for dir in $DISTDIRS; do
33 for d in `find $dir -type d | sort`; do
34 find $d -maxdepth 1 -name '*.[chS]' -o -name '*.mk' -o -name '*.rmk' \
35 -o -name '*.rb' -o -name '*.in' \
36 | sort
37 done
38 done