From 7dd12ab3b844f5c0601f337f0d40953bda2af56f Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 17 Sep 2009 21:39:32 -0300 Subject: [PATCH] Don't use abbr except when printing pretty messages This avoids the build system to break if abbr function have a bug (which should affect only to pretty printed messages). --- Lib.mak | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib.mak b/Lib.mak index fbf5280..539a597 100644 --- 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) $<) -- 2.43.0