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

Benjamin Mako Hill || Want to submit a patch?