From 6a01ef58f481c6d722d2e4217104851a9bbdd2f2 Mon Sep 17 00:00:00 2001 From: Tommy Reynolds Date: Sun, 2 Apr 2006 15:50:29 +0000 Subject: Perform the `basename` substitution in the Makefile to avoid possibly introducing an extraneous trailing blank in the "XX" substitution string. --- stylesheet-images/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stylesheet-images') diff --git a/stylesheet-images/Makefile b/stylesheet-images/Makefile index 80eb0ff..99e6ff6 100644 --- a/stylesheet-images/Makefile +++ b/stylesheet-images/Makefile @@ -27,7 +27,7 @@ CALLEPS =${CALLSVG:.svg=.eps} all:: ${CALLPNG} ${CALLEPS} ${CALLSVG}:: Makefile callout.svg - sed -e "s/XX/$(basename $@ .svg)/g" callout.svg >$@ + sed -e "s/XX/$(shell basename $@ .svg)/g" callout.svg >$@ clean:: ${RM} ${CALLSVG} -- cgit