aboutsummaryrefslogtreecommitdiff
path: root/src/php-gettext/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/php-gettext/Makefile')
-rw-r--r--src/php-gettext/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/php-gettext/Makefile b/src/php-gettext/Makefile
new file mode 100644
index 0000000..a6cce12
--- /dev/null
+++ b/src/php-gettext/Makefile
@@ -0,0 +1,38 @@
+PACKAGE = php-gettext-$(VERSION)
+VERSION = 1.0.10
+
+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