]> git.proxmox.com Git - grub2.git/blame - gendistlist.sh
merged mainline into PCI
[grub2.git] / gendistlist.sh
CommitLineData
0058f771 1#! /bin/sh
2#
6aa1169b 3# Copyright (C) 2005, 2008, 2009 Free Software Foundation, Inc.
0058f771 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 \
d2d49665 19 gendistlist.sh genfslist.sh genhandlerlist.sh geninit.sh \
20 geninitheader.sh genkernsyms.sh.in genmk.rb genmoddep.awk \
21 genmodsrc.sh genpartmaplist.sh genparttoollist.sh \
22 gensymlist.sh.in install-sh mkinstalldirs stamp-h.in"
0058f771 23
d2d49665 24DISTDIRS="boot bus commands conf disk docs efiemu font fs hello hook include io \
25 kern lib loader mmap normal partmap parttool script term util video"
0058f771 26
d99d46f1 27LC_COLLATE=C
28export LC_COLLATE
29
0058f771 30for f in $EXTRA_DISTFILES; do
31 echo $f
32done
33
34dir=`dirname $0`
35cd $dir
36
d9864ee1 37for dir in $DISTDIRS; do
ed96ab6d 38 for d in `find $dir -type d -not -name .svn -not -name .bzr | sort`; do
605f5bb6 39 find $d -maxdepth 1 -name '*.[chSy]' -o -name '*.mk' -o -name '*.rmk' \
40 -o -name '*.rb' -o -name '*.in' -o -name '*.tex' -o -name '*.texi' \
c44c90db 41 -o -name '*.info' -o -name 'grub.cfg' -o -name 'README' \
42 -o -name '*.sc' -o -name 'mdate-sh' -o -name '*.sh' \
43 -o -name 'grub-dumpdevtree' -o -name '*.lua' | sort
d9864ee1 44 done
45done