]>
Commit | Line | Data |
---|---|---|
0058f771 | 1 | #! /bin/sh |
2 | # | |
3 | # Copyright (C) 2005 Free Software Foundation, Inc. | |
4 | # | |
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. | |
8 | # | |
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. | |
13 | ||
14 | # Generate a list of distributed files. | |
15 | ||
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 \ | |
d9864ee1 | 19 | gendistlist.sh genfslist.sh genkernsyms.sh genmk.rb \ |
20 | genmodsrc.sh gensymlist.sh install-sh mkinstalldirs stamp-h.in" | |
0058f771 | 21 | |
d9864ee1 | 22 | DISTDIRS="boot commands conf disk font fs hello include io kern loader \ |
23 | normal partmap term util video" | |
0058f771 | 24 | |
25 | for f in $EXTRA_DISTFILES; do | |
26 | echo $f | |
27 | done | |
28 | ||
29 | dir=`dirname $0` | |
30 | cd $dir | |
31 | ||
d9864ee1 | 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 |