Commit 42f9329b authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Move po/sympa/xgettext.pl into support/ directory:

It will never be distributed with source tarball.
parent 4f83c623
......@@ -8,7 +8,7 @@ subdir = po/sympa
top_builddir = ../..
# Sympa uses xgettext by their own.
XGETTEXT = $(top_srcdir)/$(subdir)/xgettext.pl
XGETTEXT = $(top_srcdir)/support/xgettext.pl
# These options get passed to xgettext.
XGETTEXT_OPTIONS =
......
......@@ -8,7 +8,7 @@ subdir = po/web_help
top_builddir = ../..
# Sympa uses xgettext by their own.
XGETTEXT = $(top_srcdir)/po/sympa/xgettext.pl
XGETTEXT = $(top_srcdir)/support/xgettext.pl
# These options get passed to xgettext.
XGETTEXT_OPTIONS = -t helploc
......
......@@ -23,3 +23,54 @@ make POD2MAN="POD2MDOUTPUT=directory pod2md"
```
then, generated texts will be saved in _directory_.
### xgettext.pl
The xgettext(1) utility specific to Sympa. Typically invoked by automated
processes updating translation catalog.
How to prepare a new source tarball
===================================
1. Checkout "main" branch.
```
$ git checkout sympa-6.2
```
2. Update translation catalog.
```
$ cd (top)/po/sympa; make clean sympa.pot-update update-po
$ cd (top)/po/web_help; make clean web_help.pot-update update-po
```
And commit and push the changes.
3. Update configure.ac and NEWS.md.
And commit and push the changes.
4. Cleanup everything.
```
$ cd (top)
$ make distclean
$ rm -Rf autom4te.cache/
```
And sync with repository.
```
$ git pull
$ support/git-set-file-times
```
5. Configure, create and check distribution.
```
$ autoreconf -i
$ ./configure --enable-fhs --with-confdir=/etc/sympa
$ make distcheck
```
6. Upload generated files:
- sympa-VERSION.tar.gz
- sympa-VERSION.tar.gz.md5
- sympa-VERSION.tar.gz.sha256
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment