]> git.donarmstrong.com Git - lilypond.git/blobdiff - bin/make_patch
release: 0.0.68pre
[lilypond.git] / bin / make_patch
index a70faaeea5e14058852d745c9db1635e7460e83f..4c98e9f35afa1249d6d49d53ec7edec5643aea84 100755 (executable)
@@ -40,7 +40,18 @@ for a in lilypond.lsm INSTALL.text AUTHORS.text lilypond.spec configure; do
     rm `find  $nm$old $nm$new  -name $a`
 done    
 
-echo 'use cd source-dir; patch -E -p0 < this_patch'> patch-$new
+cat <<EOF > patch-$new
+Generated with 
+
+       make_patch $1 $2 $3
+
+usage 
+
+       cd lilypond-source-dir; patch -E -p0 < patch-$new
+       
+Patches do not contain automatically generated files, 
+i.e. you should rerun configure
+EOF
 
 (cd $nm$new; diff -urN  ../$nm$old . >> ../patch-$new)
 rm -rf $nm$old $nm$new