Makefile for non-gnu version of basename
authorEmmanuel Garette <egarette@cadoles.com>
Mon, 16 Sep 2013 12:43:58 +0000 (14:43 +0200)
committerEmmanuel Garette <egarette@cadoles.com>
Mon, 16 Sep 2013 12:43:58 +0000 (14:43 +0200)
Makefile

index ca436a5..9ead4ab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ endef
 define build_translation
     if [ -d ${1} ]; then                                            \
        for f in `find ${1} -name "*.po"`; do                       \
-           msgfmt -o `dirname $$f`/`basename -s ".po" $$f`.mo $$f || true; \
+           msgfmt -o `dirname $$f`/`basename $$f ".po"`.mo $$f || true; \
        done;                                                       \
     fi
 endef