2007-08-29 18:23:50 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# set -x
|
|
|
|
|
|
|
|
# a bunch of cleaning up ... make certain everything will be regenerated
|
|
|
|
rm -f Makefile Makefile.in aclocal.m4
|
|
|
|
rm -rf autom4te.cache
|
|
|
|
rm -f config.* configure depcomp
|
|
|
|
rm -f install-sh intltool-* libtool ltmain.sh missing mkinstalldirs
|
2009-06-17 16:40:23 +02:00
|
|
|
rm -f stamp-* vipsCC-7.19.pc vips-7.19.spec vips-7.19.pc
|
2009-08-16 17:00:08 +02:00
|
|
|
rm -f swig/vipsCC/*.cxx
|
|
|
|
rm -f swig/vipsCC/VImage.h
|
|
|
|
rm -f swig/vipsCC/VImage.py python/vipsCC/VError.py python/vipsCC/VMask.py python/vipsCC/Display.py
|
2007-08-29 18:23:50 +02:00
|
|
|
rm -f benchmark/temp*
|
2009-08-18 16:12:12 +02:00
|
|
|
( cd doc ; mkdir poop ; mv reference/libvips-docs.sgml.in poop ; mv reference/Makefile.am poop ; rm -rf reference/* ; mv poop/* reference ; rmdir poop )
|
2009-08-16 17:00:08 +02:00
|
|
|
|
|
|
|
gtkdocize --copy --docdir doc/reference --flavour no-tmpl || exit 1
|
2007-08-29 18:23:50 +02:00
|
|
|
|
|
|
|
# some systems need libtoolize, some glibtoolize ... how annoying
|
|
|
|
echo testing for glibtoolize ...
|
|
|
|
if glibtoolize --version >/dev/null 2>&1; then
|
|
|
|
LIBTOOLIZE=glibtoolize
|
|
|
|
echo using glibtoolize
|
|
|
|
else
|
|
|
|
LIBTOOLIZE=libtoolize
|
|
|
|
echo using libtoolize
|
|
|
|
fi
|
|
|
|
|
2008-05-16 15:18:04 +02:00
|
|
|
test -r aclocal.m4 || touch aclocal.m4
|
2007-08-29 18:23:50 +02:00
|
|
|
glib-gettextize --force --copy
|
|
|
|
test -r aclocal.m4 && chmod u+w aclocal.m4
|
2008-05-18 00:12:29 +02:00
|
|
|
# intltoolize --copy --force --automake
|
2008-05-16 15:18:04 +02:00
|
|
|
aclocal
|
2007-08-29 18:23:50 +02:00
|
|
|
autoconf
|
|
|
|
autoheader
|
|
|
|
$LIBTOOLIZE --copy --force --automake
|
|
|
|
automake --add-missing --copy
|