From 20926fbd63d5768a55eabd9beab33d2622cd8fa1 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 6 Feb 2006 04:08:14 +0000 Subject: [PATCH] An easy way to run all the commands in prepare-source.mak. --- prepare-source | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 prepare-source diff --git a/prepare-source b/prepare-source new file mode 100755 index 00000000..0457179e --- /dev/null +++ b/prepare-source @@ -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 -- 2.34.1