Mercurial > dovecot > core-2.2
annotate autogen.sh @ 5441:9d36800df1ae HEAD
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
if they don't exist. Changed wiki links in dovecot-example.conf to point to
the doc/wiki/ directory instead.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 28 Mar 2007 01:50:53 +0300 |
parents | d86ee13688d5 |
children | e9745c1c4d14 |
rev | line source |
---|---|
4988
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
1 #!/bin/sh |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
2 |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
3 # If you've non-standard directories, set these |
4990
786556485e91
Comment out the configurable dir environments.
Timo Sirainen <tss@iki.fi>
parents:
4988
diff
changeset
|
4 #ACLOCAL_DIR= |
786556485e91
Comment out the configurable dir environments.
Timo Sirainen <tss@iki.fi>
parents:
4988
diff
changeset
|
5 #GETTEXT_DIR= |
4988
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
6 |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
7 if test "$ACLOCAL_DIR" != ""; then |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
8 ACLOCAL="aclocal -I $ACLOCAL_DIR" |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
9 export ACLOCAL |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
10 fi |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
11 |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
12 for dir in $GETTEXT_DIR /usr/share/gettext; do |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
13 if test -f $dir/config.rpath; then |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
14 /bin/cp -f $dir/config.rpath . |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
15 break |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
16 fi |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
17 done |
12d853120b45
Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents:
3857
diff
changeset
|
18 |
5441
9d36800df1ae
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents:
5057
diff
changeset
|
19 if ! test -f doc/wiki/Authentication.txt; then |
9d36800df1ae
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents:
5057
diff
changeset
|
20 cd doc |
9d36800df1ae
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents:
5057
diff
changeset
|
21 wget http://www.dovecot.org/tmp/wiki-export.tar.gz |
9d36800df1ae
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents:
5057
diff
changeset
|
22 tar xzf wiki-export.tar.gz |
9d36800df1ae
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents:
5057
diff
changeset
|
23 mv wiki-export/*.txt wiki/ |
9d36800df1ae
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents:
5057
diff
changeset
|
24 cd wiki |
9d36800df1ae
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents:
5057
diff
changeset
|
25 cp -f Makefile.am.in Makefile.am |
9d36800df1ae
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents:
5057
diff
changeset
|
26 echo *.txt | sed 's/ / \\\n /g' >> Makefile.am |
9d36800df1ae
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents:
5057
diff
changeset
|
27 cd .. |
9d36800df1ae
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents:
5057
diff
changeset
|
28 rm -rf wiki-export wiki-export.tar.gz |
9d36800df1ae
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents:
5057
diff
changeset
|
29 cd .. |
9d36800df1ae
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents:
5057
diff
changeset
|
30 fi |
9d36800df1ae
Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents:
5057
diff
changeset
|
31 |
5057
d86ee13688d5
Removed -f option from autoreconf, since it overwrites our INSTALL file.
Timo Sirainen <tss@iki.fi>
parents:
5000
diff
changeset
|
32 autoreconf -i |