Bring back src module name in messages
[khatus.git] / Makefile
index f516fb9..c741acf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,7 @@ AWK_EXECUTABLES := \
 
 define BUILD_AWK_EXE
        echo '#! $(PATH_TO_AWK) -f' > $@ && \
+       echo 'BEGIN {Module = "$(notdir $@)"}' >> $@ && \
        cat $^ >> $@ && \
        chmod +x $@
 endef
@@ -32,11 +33,10 @@ endef
        build \
        clean
 
-
 build: $(AWK_EXECUTABLES)
 
 clean:
-       rm $(AWK_EXECUTABLES)
+       rm -f $(AWK_EXECUTABLES)
 
 
 bin/khatus_bar: \
This page took 0.027311 seconds and 4 git commands to generate.