Sha256: 2e1fff72680d36dcb08e9accb337ce7e7e77124d5bd95baeb719c63c4769e06a

Contents?: true

Size: 1 KB

Versions: 6

Compression:

Stored size: 1 KB

Contents

POT=./alexandria.pot

RUBY=../bin/alexandria $(shell find ../lib -name '*.rb' -and -not -path '*macui*')

GLADE=$(shell find ../share/alexandria/glade -name '*.glade')

HEADERS=$(shell find .. -name '*.h')

PO=$(wildcard *.po)

$(POT): $(RUBY) $(GLADE) ../alexandria.desktop.in.h $(HEADERS)
	rm -f $(POT)
	@echo Updating PO template from Ruby files
	@rxgettext --output=$(POT) $(RUBY)
	@echo Updating PO template from Glade files
	@xgettext --output=$(POT) --join-existing $(GLADE)
	@echo Updating PO template from header files
	@xgettext --output=$(POT) --join-existing --extract-all $(HEADERS)

../alexandria.desktop.in.h: ../alexandria.desktop.in
	intltool-extract --type=gettext/ini ../alexandria.desktop.in

$(PO): $(POT)
	msgmerge -U $@ $(POT)

po: $(POT)
	@echo Updating PO files
	@for po in $(PO); do \
		echo -n "$$po: "; \
		msgmerge -U $$po $(POT); \
	done

check:
	@echo Checking PO files
	@echo
	@for po in $(PO); do \
		echo "$$po: "; \
		msgfmt -cvv $$po -o /dev/null; \
		echo; \
	done

.PHONY: $(PO) po check

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alexandria-book-collection-manager-0.7.10 po/Makefile
alexandria-book-collection-manager-0.7.9 po/Makefile
alexandria-book-collection-manager-0.7.8 po/Makefile
alexandria-book-collection-manager-0.7.7 po/Makefile
alexandria-book-collection-manager-0.7.6 po/Makefile
alexandria-book-collection-manager-0.7.5 po/Makefile