summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 4e0754dc3..f0d74311d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -65,6 +65,9 @@ FILEMODE= 644
INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
DIRSETGID= chmod g+s
+DATE = $(shell python -c 'import time; print time.strftime("%d-%b-%Y"),')
+LANGPACK = README-I18N.en templates messages
+EXCLUDES = --exclude=CVS --exclude=.cvsignore --exclude=Makefile* --exclude=*.files --exclude=*.old
# Rules
@@ -137,3 +140,6 @@ distclean: $(SUBDIRS)
(cd $$d; $(MAKE) distclean); \
done
-rm -f config.cache config.log config.status Makefile
+
+langpack:
+ tar zcvf langpack-$(DATE).tgz $(EXCLUDES) $(LANGPACK)