Added a comment to the do_chmod() to mark it as a discouraged function.
[rsync/rsync.git] / prepare-source
1 #!/bin/sh
2 # Use autoconf, autoheader, yodl, etc. to ready the generated files in the
3 # release.  This is typically used after applying a diff from the "patches"
4 # directory in a CVS-checked-out version.
5 #
6 # NOTE:  if you use a diff from the "patches" directory of a *release tar*
7 # (as opposed to from CVS), this is not needed (but doesn't hurt anything).
8 dir=`dirname $0`
9 if test x"$dir" != x -a x"$dir" != x.; then
10     cd "$dir"
11 fi
12 make -f prepare-source.mak