From 0779a60f3e31a31db71614134ddd7eedc5e385d9 Mon Sep 17 00:00:00 2001
From: Alexander Sulfrian <alexander@sulfrian.net>
Date: Wed, 24 Mar 2010 07:57:06 +0100
Subject: change shell execution with makefile functions

---
 test/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/Makefile b/test/Makefile
index f77fae8b..6278be7d 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -60,11 +60,11 @@ test-with-coverage:			$(COVERAGE-DIR)/html/index.html
 
 $(COVERAGE-DIR)/html/index.html:	$(COVERAGE-DIR)/coverage.info
 	genhtml $(COVERAGE-DIR)/coverage.info -o $(COVERAGE-DIR)/html/ -p \
-		"$(shell realpath $(shell pwd)/$(TOP)/src)"
+		"$(realpath ./$(TOP)/src)"
 
 $(COVERAGE-DIR)/coverage.info:		$(COVERAGE-DIR)/coverage.info.tmp
 	lcov --extract $(COVERAGE-DIR)/coverage.info.tmp \
-		"$(shell realpath $(shell pwd)/$(TOP))/src/*" \
+		"$(realpath ./$(TOP))/src/*" \
 		-o $(COVERAGE-DIR)/coverage.info
 
 $(COVERAGE-DIR)/coverage.info.tmp:	$(TARGET-COVERAGE)
-- 
cgit v1.2.3