diff options
Makefile: translations depends on po/%.po
1 files changed, 4 insertions, 4 deletions
| -rw-r--r-- | Makefile | 8 |
@@ -17,16 +17,16 @@ LIBS = `pkg-config --libs $(DEPS)` all: $(OBJS) $(TRANS) -${TRANS}: - mkdir -p locale/${@:.mo=}/LC_MESSAGES - msgfmt -o locale/${@:.mo=}/LC_MESSAGES/$(PACKAGE).mo po/${@:.mo=.po} - po/messages.pot: badwolf.c xgettext --keyword=_ --language=C -o $@ --add-comments --sort-output -j badwolf.c po/%.po: po/messages.pot msgmerge --update $@ $< +${TRANS}: po/${@:.mo=.po} + mkdir -p locale/${@:.mo=}/LC_MESSAGES + msgfmt -o locale/${@:.mo=}/LC_MESSAGES/$(PACKAGE).mo po/${@:.mo=.po} + .c: $(CC) -std=c11 $(CFLAGS) $(CDEPS) -o $@ $< $(LDFLAGS) $(LIBS) |