File: autogen.sh

package info (click to toggle)
matchbox-themes-extra 0.4%2Bgit20051003-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 1,856 kB
  • sloc: xml: 822; makefile: 174; sh: 129
file content (40 lines) | stat: -rwxr-xr-x 1,033 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/sh

dir=`echo "$0" | sed 's,[^/]*$,,'`
test "x${dir}" = "x" && dir='.'
 
if test "x`cd "${dir}" 2>/dev/null && pwd`" != "x`pwd`"
then
    echo "this script must be executed directly from the source directory."
    exit 1
fi
 
 # this might not be necessary with newer autotools:
rm -f config.cache

# older crap way
#aclocal
#autoconf
#autoheader
#automake -a -c

echo "Running:"
echo "- libtoolize"                   && \
libtoolize --copy --force --automake  && \
echo "- aclocal"                      && \
aclocal                               && \
echo "- autoconf"                     && \
autoconf                              && \
echo "- autoheader"                   && \
autoheader                            && \
echo "- automake"                     && \
automake --add-missing --gnu      && \
echo                                  && \
echo "Now run ./configure [options] and then make." && \
echo                                  && \
exit 0

#echo "Running ./configure ..."        && \
#./configure "$@"

exit 1