Scrolling jQuery Gallery
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
638B

  1. OBJECTS = *.php includes/*.php themes/*/*.php dummy/*.php
  2. LANGUAGES = de
  3. TARGETFILES = $(foreach lang,$(LANGUAGES),locale/$(lang)/LC_MESSAGES/sjqg.mo)
  4. POFILES =
  5. all: $(TARGETFILES) $(POFILES)
  6. %.mo: %.po
  7. msgfmt $< -o $@
  8. %.po: locale/sjqg.pot
  9. if [ ! -d `dirname "$@"` ]; then mkdir -p `dirname "$@"`; fi
  10. if [ -f $@ ]; then \
  11. msgmerge -U $@ $<; \
  12. else \
  13. cp $< $@; \
  14. fi
  15. locale/sjqg.pot: $(OBJECTS)
  16. xgettext -d sjqg -o sjqg.pot -p locale \
  17. --from-code=UTF8 --sort-output \
  18. --copyright-holder='Jan Dittberner <jan@dittberner.info>' \
  19. --package-name='SJQG' --package-version='0.3' \
  20. --language=PHP $(OBJECTS)
  21. .SECONDARY: