]> git.notmuchmail.org Git - notmuch/blobdiff - lib/Makefile.local
Use POSIX sed invocation
[notmuch] / lib / Makefile.local
index fe429207c2d482c01b150093d227e525323f0c6c..88d8debca8e19600cf86cded2ae27cf77ea93e84 100644 (file)
@@ -76,7 +76,7 @@ $(dir)/$(LIBNAME): $(libnotmuch_modules) notmuch.sym
 
 notmuch.sym: lib/notmuch.h
        printf "{\nglobal:\n" > notmuch.sym
-       sed  -n 's/^\s*\(notmuch_[a-z_]*\)\s*(.*/\t\1;/p' $< >> notmuch.sym
+       sed  -n 's/^[[:space:]]*\(notmuch_[a-z_]*\)[[:space:]]*(.*/'"`printf "\t"`"'\1;/p' $< >> notmuch.sym
        printf "local: *;\n};\n" >> notmuch.sym
 
 $(dir)/$(SONAME): $(dir)/$(LIBNAME)