summaryrefslogtreecommitdiff
path: root/inc/lib/gettext/Makefile
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-09 20:52:26 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-09 20:52:26 +1000
commit874b8cbf002e9d8bf0ff39671e1501165016320a (patch)
tree1428acec23fef6c607e10fd355d88af31c2029ed /inc/lib/gettext/Makefile
parent69c9a9dd452299e0e8f7335966a1d0b4036df583 (diff)
inc/contrib -> inc/lib
Diffstat (limited to 'inc/lib/gettext/Makefile')
-rw-r--r--inc/lib/gettext/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/inc/lib/gettext/Makefile b/inc/lib/gettext/Makefile
new file mode 100644
index 00000000..f389de51
--- /dev/null
+++ b/inc/lib/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