Some additional configuration.
[gedcom-parse.git] / iconv / libiconv / get_patches
1 #!/bin/sh
2
3 tarfile=`ls libiconv-*.tar.gz`
4 topdir=`pwd`
5 libiconvdir=`basename $tarfile .tar.gz`
6 libiconvdir="$topdir/$libiconvdir"
7
8 #############################################################################
9 echo "Getting patches in top directory..."
10 cd $libiconvdir
11 for file in configure.in configure README
12 do
13   echo "  $file"
14   diff -u $file.orig $file > $topdir/$file.patch
15 done
16
17 #############################################################################
18 echo "Getting patches in lib subdirectory..."
19 cd $libiconvdir/lib
20 for file in encodings.def converters.h Makefile.in
21 do
22   echo "  $file"
23   diff -u $file.orig $file > $topdir/$file.patch
24 done
25
26 #############################################################################
27 echo "Getting patches in man subdirectory..."
28 cd $libiconvdir/man
29 for file in iconv_open.3 iconv_open.3.html
30 do
31   echo "  $file"
32   diff -u $file.orig $file > $topdir/$file.patch
33 done
34
35 #############################################################################
36 echo "Getting patches in libcharset/lib subdirectory..."
37 cd $libiconvdir/libcharset/lib
38 for file in config.charset
39 do
40   echo "  $file"
41   diff -u $file.orig $file > $topdir/$file.patch
42 done