File: autogen.sh

package info (click to toggle)
libvoikko 3.0-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,904 kB
  • ctags: 2,181
  • sloc: cpp: 11,324; sh: 10,695; python: 1,811; xml: 840; makefile: 268; ansic: 175
file content (18 lines) | stat: -rwxr-xr-x 656 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

echo Cleaning autotools files...
find . -type d -name autom4te.cache | xargs rm -rf \;
find . -type f \( -name missing -o -name install-sh -o -name mkinstalldirs \
        -o -name depcomp -o -name ltmain.sh -o -name configure \
        -o -name config.sub -o -name config.guess \
        -o -name Makefile.in \) | xargs rm -f

rm -f config.sub config.guess aclocal.m4 config.h.in config.rpath
rm -f m4/libtool.m4 m4/lt~obsolete.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4
cp /usr/share/misc/config.sub .
cp /usr/share/misc/config.guess .
cp /usr/share/gettext/config.rpath .

echo Creating autotools files...
autoreconf --force --install