Makefile 741 B

1234567891011121314151617181920212223242526272829
  1. MESSAGE_SOURCES=$(wildcard ../languages/messages/Messages*.php)
  2. MESSAGE_TARGETS=$(patsubst ../languages/messages/Messages%.php, Messages%.ser, $(MESSAGE_SOURCES))
  3. SPECIAL_TARGETS=Utf8Case.ser
  4. ALL_TARGETS=$(MESSAGE_TARGETS) $(SPECIAL_TARGETS)
  5. DIST_TARGETS=$(SPECIAL_TARGETS) \
  6. MessagesDe.ser \
  7. MessagesEn.ser \
  8. MessagesFr.ser \
  9. MessagesJa.ser \
  10. MessagesNl.ser \
  11. MessagesPl.ser \
  12. MessagesSv.ser
  13. .PHONY: all dist clean
  14. all: $(ALL_TARGETS)
  15. dist: $(DIST_TARGETS)
  16. clean:
  17. rm -f $(ALL_TARGETS)
  18. Utf8Case.ser : ../includes/normal/Utf8Case.php
  19. php serialize.php -o $@ $<
  20. Messages%.ser : ../languages/messages/Messages%.php ../languages/messages/MessagesEn.php
  21. php serialize-localisation.php -o $@ $<