diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-11 21:49:14 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-11 21:49:14 +1100 |
| commit | ff730c861b7a8c4e5b7502e198cb1a979ad04abd (patch) | |
| tree | b3dccbfeb19188faede4e815c08341f254433b69 /inc/contrib/gettext/Makefile | |
| parent | e8183e7899cc0dc26d76a8c3e13f17dbf786d701 (diff) | |
Started on internationalization (i18n)
Diffstat (limited to 'inc/contrib/gettext/Makefile')
| -rw-r--r-- | inc/contrib/gettext/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/inc/contrib/gettext/Makefile b/inc/contrib/gettext/Makefile new file mode 100644 index 00000000..f389de51 --- /dev/null +++ b/inc/contrib/gettext/Makefile @@ -0,0 +1,38 @@ +PACKAGE = php-gettext-$(VERSION) +VERSION = 1.0.11 + +DIST_FILES = \ + gettext.php \ + gettext.inc \ + streams.php \ + AUTHORS \ + README \ + COPYING \ + Makefile \ + examples/index.php \ + examples/pigs_dropin.php \ + examples/pigs_fallback.php \ + examples/locale/sr_CS/LC_MESSAGES/messages.po \ + examples/locale/sr_CS/LC_MESSAGES/messages.mo \ + examples/locale/de_CH/LC_MESSAGES/messages.po \ + examples/locale/de_CH/LC_MESSAGES/messages.mo \ + examples/update \ + tests/LocalesTest.php \ + tests/ParsingTest.php + +check: + phpunit --verbose tests + +dist: check + if [ -d $(PACKAGE) ]; then \ + rm -rf $(PACKAGE); \ + fi; \ + mkdir $(PACKAGE); \ + if [ -d $(PACKAGE) ]; then \ + cp -rp --parents $(DIST_FILES) $(PACKAGE); \ + tar cvzf $(PACKAGE).tar.gz $(PACKAGE); \ + rm -rf $(PACKAGE); \ + fi; + +clean: + rm -f $(PACKAGE).tar.gz |
