Incorrect filename for gettext catablog
authorDaniel Dehennin <daniel.dehennin@ac-dijon.fr>
Mon, 16 Sep 2013 12:41:12 +0000 (14:41 +0200)
committerDaniel Dehennin <daniel.dehennin@ac-dijon.fr>
Mon, 16 Sep 2013 12:41:12 +0000 (14:41 +0200)
* Makefile: Do not use basename option ā€œ-sā€ as it's not compatible with,
  at least, Ubuntu Precise Pangolin.

Makefile

index ca436a5..8579680 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