logo

badwolf

Minimalist and privacy-oriented WebKitGTK+ browser
commit: 9e8324381a639d0a2c85d7590dd5cf1bb84f8f4f
parent: 5d0681c28107c3a18b552f270743940da40808c8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 11 May 2019 01:39:43 +0200

Makefile: Fix .mo building target for BSD make

Diffstat:

MMakefile6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -17,9 +17,9 @@ LIBS = `pkg-config --libs $(DEPS)` all: $(OBJS) $(TRANS) -%.mo: - mkdir -p locale/$*/LC_MESSAGES - msgfmt -o locale/$*/LC_MESSAGES/$(PACKAGE).mo po/$*.po +${TRANS}: + mkdir -p locale/${@:.mo=}/LC_MESSAGES + msgfmt -o locale/${@:.mo=}/LC_MESSAGES/$(PACKAGE).mo po/${@:.mo=.po} po/messages.pot: xgettext --keyword=_ --language=C -o $@ --add-comments --sort-output -j badwolf.c