3 tarfile=`ls libiconv-*.tar.gz`
5 libiconvdir=`basename $tarfile .tar.gz`
6 libiconvdir="$topdir/$libiconvdir"
8 #############################################################################
9 echo "Getting patches in top directory..."
11 for file in configure.in configure README
14 diff -u $file.orig $file > $topdir/$file.patch
17 #############################################################################
18 echo "Getting patches in lib subdirectory..."
20 for file in encodings.def converters.h Makefile.in
23 diff -u $file.orig $file > $topdir/$file.patch
26 #############################################################################
27 echo "Getting patches in man subdirectory..."
29 for file in iconv_open.3 iconv_open.3.html
32 diff -u $file.orig $file > $topdir/$file.patch
35 #############################################################################
36 echo "Getting patches in libcharset/lib subdirectory..."
37 cd $libiconvdir/libcharset/lib
38 for file in config.charset
41 diff -u $file.orig $file > $topdir/$file.patch