]> git.llucax.com Git - software/makeit.git/commitdiff
Don't use abbr except when printing pretty messages
authorLeandro Lucarella <llucarella@integratech.com.ar>
Fri, 18 Sep 2009 00:39:32 +0000 (21:39 -0300)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Fri, 18 Sep 2009 03:00:36 +0000 (00:00 -0300)
This avoids the build system to break if abbr function have a bug (which
should affect only to pretty printed messages).

Lib.mak

diff --git a/Lib.mak b/Lib.mak
index fbf5280c22b7999ced5c537b0ccce98af874d2d6..539a597cfdefa5dafd2959ef3a08bdfae12d8d48 100644 (file)
--- a/Lib.mak
+++ b/Lib.mak
@@ -99,17 +99,17 @@ $(if $(GCH),\
 $Vif test -f $O/$*.d; then \
        tmp=`mktemp`; \
        h=`awk -F: '!$$0 {f = 1} $$0 && f {print $$1}' $O/$*.d`; \
-       grep -h '^#include <' $(call abbr,$<) $$h | sort -u > "$$tmp"; \
-       if diff -q -w "$(call abbr,$O/$*.$1.h)" "$$tmp" > /dev/null 2>&1; \
+       grep -h '^#include <' $< $$h | sort -u > "$$tmp"; \
+       if diff -q -w "$O/$*.$1.h" "$$tmp" > /dev/null 2>&1; \
        then \
                rm "$$tmp"; \
        else \
-               mv "$$tmp" "$(call abbr,$O/$*.$1.h)"; \
+               mv "$$tmp" "$O/$*.$1.h"; \
                $(call vexec,$(COMPILE.$1) -o "$O/$*.$1.h.gch" "$O/$*.$1.h",\
                                $O/$*.$1.h.gch); \
        fi \
 else \
-       touch "$(call abbr,$O/$*.$1.h)"; \
+       touch "$O/$*.$1.h"; \
 fi \
 )
 $(call exec,$(COMPILE.$1) -o $@ -MMD -MP $(if $(GCH),-include $O/$*.$1.h) $<)