X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=m4.sh;h=92e9439be35265dffdfc6471e17f35aa816cdcb7;hb=a24eb9ac39d0b6bde1fc8ae2e4654cfc81e70b90;hp=760ff0e87b282590dbf0fcbdf9106fe3d489478a;hpb=856e63f63eb829a53ae5f6f6957d93717a561f86;p=config%2Fdotfiles.git diff --git a/m4.sh b/m4.sh index 760ff0e..92e9439 100755 --- 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