summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-09-05 03:56:41 +0000
committerbwarsaw2001-09-05 03:56:41 +0000
commit14c1e31cef1a56a06b17b59703137c0f490d9082 (patch)
tree7d8d653c1ad8e9994ac736f6695ec31f3b574733
parent5a823e7a77d7877e6f29a7e11e95cb158236ca51 (diff)
downloadmailman-14c1e31cef1a56a06b17b59703137c0f490d9082.tar.gz
mailman-14c1e31cef1a56a06b17b59703137c0f490d9082.tar.zst
mailman-14c1e31cef1a56a06b17b59703137c0f490d9082.zip
Added some macros and targets for building language packs.
-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)