3 # Invoke the autotools...
5 # ./autogen.sh Should create the ./configure script
6 # ./autogen.sh --clean Should purge the whole thing
8 # The cleaning part is more complex than it should, but at least it's
11 GETTEXT_H
=/usr
/share
/gettext
/gettext.h
24 SEDFILTER
=`echo "${PRESERVE}" | sed 's/.*/\/^&$\/d/' | sed 'N;s/\n/;/'`
25 for F
in `ls | sed "${SEDFILTER}"` ; do
26 echo "Removing '${F}'..."
30 test "x$1" = "x--clean" && exit 0
32 for F
in README NEWS AUTHORS ChangeLog
; do
33 echo "Creating empty '${F}'..."
34 echo "All details available on http://edesklets.sf.net/" > ${F}
36 sed -i 's/po\/Makefile.in//' configure.
in
37 sed -i 's/config.rpath//g;s/po//g' Makefile.am
38 test -e ${GETTEXT_H} && cp ${GETTEXT_H} src
/
41 gettextize
--force --copy --no-changelog
44 for F
in `ls ../pot/*` ; do
51 automake
--add-missing