]> git.proxmox.com Git - grub2.git/blame - gendistlist.sh
2006-02-01 Yoshinori K. Okuji <okuji@enbug.org>
[grub2.git] / gendistlist.sh
CommitLineData
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
16EXTRA_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 22DISTDIRS="boot commands conf disk font fs hello include io kern loader \
23 normal partmap term util video"
0058f771 24
25for f in $EXTRA_DISTFILES; do
26 echo $f
27done
28
29dir=`dirname $0`
30cd $dir
31
d9864ee1 32for 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
38done