-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap
More file actions
executable file
·37 lines (32 loc) · 1.36 KB
/
bootstrap
File metadata and controls
executable file
·37 lines (32 loc) · 1.36 KB
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
#!/bin/sh
cat >&2 <<EOF
The following packages (some version at least) are required to bootstrap:
autoconf2.5
automake1.7
autopoint
m4-1.4
pkgconfig
libtool
gettext
gettext-devel
EOF
if [ "$1" = "--clean" ]
then
if [ -a Makefile ]
then
make maintainer-clean
elif [ -a configure ]
then
configure && $0 --clean
else
bootstrap && configure && $0 --clean
fi
rm -rf rezound configure libtool aclocal.m4 `find . -name Makefile.in` autom4te*.cache config/config.guess config/config.h.in config/config.sub config/depcomp config/install-sh config/ltmain.sh config/missing config/mkinstalldirs config/stamp-h config/stamp-h.in src/misc/missing/generated
#gettextize files
rm -f ABOUT-NLS config/config.rpath config/m4/codeset.m4 config/m4/gettext.m4 config/m4/glibc21.m4 config/m4/iconv.m4 config/m4/intdiv0.m4 config/m4/inttypes-pri.m4 config/m4/inttypes.m4 config/m4/inttypes_h.m4 config/m4/isc-posix.m4 config/m4/lcmessage.m4 config/m4/lib-ld.m4 config/m4/lib-link.m4 config/m4/lib-prefix.m4 config/m4/progtest.m4 config/m4/stdint_h.m4 config/m4/uintmax_t.m4 config/m4/ulonglong.m4 po/Makefile.in.in po/Rules-quot po/boldquot.sed po/[email protected] po/[email protected] po/insert-header.sin po/quot.sed po/remove-potcdate.sin
else
libtoolize
export AUTOMAKE="automake --add-missing --foreign"
autoreconf -fisv && rm -f `find . -name "*~"` && rm -f ChangeLog
exit $?
fi