make: Replace sed by $(SED)

This commit is contained in:
Jan Lindemann 2012-02-04 10:59:02 +00:00 committed by Jan Lindemann
commit 9f4e02e618
18 changed files with 80 additions and 77 deletions

View file

@ -32,7 +32,7 @@ GENERATED_TEX = $(filter %.tex,$(GENERATED))
GENERATED_EPS = $(filter %.png,$(GENERATED))
GENERATED_HTML = $(filter %.html,$(GENERATED))
CMD_PARSE_GRAPHICS = sed '/includegraphics/ !d; s/[^{]*{\([^}]*\).*/\1/; /^\.\./ d; s/^.\///' *.tex *.tmpl | sort -u
CMD_PARSE_GRAPHICS = $(SED) '/includegraphics/ !d; s/[^{]*{\([^}]*\).*/\1/; /^\.\./ d; s/^.\///' *.tex *.tmpl | sort -u
CONTACT_EMAIL ?= contact@jannet.de
ifeq ($(DIST_VERSION),)
@ -95,7 +95,7 @@ define mangle_tmpl
@echo "+ generating $< -> $@"
@if [ $(suffix $@) = tex ]; then echo -e $(TEX_WARN_DONT_EDIT) > $@; fi
@if [ $(suffix $@) = html ]; then echo -e $(HTML_WARN_DONT_EDIT) > $@; fi
cat $< | sed -e "\
cat $< | $(SED) -e "\
s%__DATE__%$(DATE)%g; \
s%__AUTHORS__%$(AUTHORS)%g; \
s%__CONTACT_EMAIL__%$(CONTACT_EMAIL)%g; \