]> git.proxmox.com Git - grub2.git/blob - gendistlist.sh
2006-04-01 Vesa Jaaskelainen <chaac@nic.fi>
[grub2.git] / gendistlist.sh
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 \
19 gendistlist.sh genfslist.sh genkernsyms.sh genmk.rb \
20 genmodsrc.sh gensymlist.sh install-sh mkinstalldirs stamp-h.in"
21
22 DISTDIRS="boot commands conf disk font fs hello include io kern loader \
23 normal partmap term util video"
24
25 for f in $EXTRA_DISTFILES; do
26 echo $f
27 done
28
29 dir=`dirname $0`
30 cd $dir
31
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