]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - m4.sh
Add better debug output to m4.sh and link.sh.
[config/dotfiles.git] / m4.sh
diff --git a/m4.sh b/m4.sh
index 760ff0e87b282590dbf0fcbdf9106fe3d489478a..92e9439be35265dffdfc6471e17f35aa816cdcb7 100755 (executable)
--- a/m4.sh
+++ b/m4.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 # m4 wrapper script which uses $1.m4 as template file, feeds it to m4 and
-# writes it to m4 with a warning at the beginning to not edit the generated
+# writes it to $1 with a warning at the beginning to not edit the generated
 # file.
 #
 # All arguments to this script (except the first which is the filename) are
@@ -21,4 +21,5 @@ echo "# It was generated from $file.m4 on `date`." >> $file
 echo >> $file
 
 # Process $1.m4 with m4 using the given options.
+echo "m4.sh: generating '$file' from '$file.m4' with options '$*'"
 m4 $* $file.m4 >> $file