Tagged 0.7.5
[scuttle] / includes / php-gettext / Makefile
1 PACKAGE = php-gettext-$(VERSION)
2 VERSION = 1.0.10
3
4 DIST_FILES = \
5         gettext.php \
6         gettext.inc \
7         streams.php \
8         AUTHORS     \
9         README      \
10         COPYING     \
11         Makefile    \
12         examples/index.php    \
13         examples/pigs_dropin.php    \
14         examples/pigs_fallback.php    \
15         examples/locale/sr_CS/LC_MESSAGES/messages.po \
16         examples/locale/sr_CS/LC_MESSAGES/messages.mo \
17         examples/locale/de_CH/LC_MESSAGES/messages.po \
18         examples/locale/de_CH/LC_MESSAGES/messages.mo \
19         examples/update \
20         tests/LocalesTest.php \
21         tests/ParsingTest.php
22
23 check:
24         phpunit --verbose tests
25
26 dist: check
27         if [ -d $(PACKAGE) ]; then \
28             rm -rf $(PACKAGE); \
29         fi; \
30         mkdir $(PACKAGE); \
31         if [ -d $(PACKAGE) ]; then \
32             cp -rp --parents $(DIST_FILES) $(PACKAGE); \
33             tar cvzf $(PACKAGE).tar.gz $(PACKAGE); \
34             rm -rf $(PACKAGE); \
35         fi;
36
37 clean:
38         rm -f $(PACKAGE).tar.gz

Benjamin Mako Hill || Want to submit a patch?