An easy way to run all the commands in prepare-source.mak.

This commit is contained in:
Wayne Davison
2006-02-06 04:08:14 +00:00
parent 2a3f3ba45d
commit 20926fbd63

13
prepare-source Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
# Use autoconf, autoheader, yodl, etc. to ready the generated files
# in the release. This is typically used after applying a diff from
# "patches" directory in CVS.
#
# NOTE: if you use a diff from the "patches" directory in a release
# tar as of 2.6.7, this is not needed (but doesn't hurt anything).
dir=`dirname $0`
if test x"$dir" = x -o x"$dir" = x.; then
make -f prepare-source.mak
else
make -C "$dir" -f prepare-source.mak
fi