From 6821f5ef4a80ed08e9f0e9fdea08867c3ac95e26 Mon Sep 17 00:00:00 2001 From: Mark Griffiths Date: Thu, 4 Sep 2014 11:34:43 +0100 Subject: Portable Makefile fix --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 431f24da..f857cec8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -381,7 +381,7 @@ lexicon_filter: lexicon.txt lexicon_filter.in # /bin or /usr/bin and some versions dont allow more than one comment!. sed <$@.in >$@.tmp -e 's|@sed@|'"`which sed`"'|' -e '/^[ ]*#[^!]/d' # Scan through the lexicon, transforming each line to something useful to Doxygen. - if `echo "x" | sed "/[[:<:]]x/d"`; then \ + if `echo "x" | sed "/[[:<:]]x/d" 2>/dev/null`; then \ WORDBL='[[:<:]]'; WORDBR='[[:>:]]'; \ else\ WORDBL='\\<'; WORDBR='\\>'; \ -- cgit v1.2.3