Add cleanup stuff for gettextize modified files
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5355 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -113,6 +113,12 @@ do
|
||||
rm -f "m4/$file"
|
||||
done
|
||||
rm -rf intl/
|
||||
grep "intl/Makefile" configure.in > /dev/null &&
|
||||
( sed -e 's#^AC_OUTPUT(\[.*intl/Makefile po/Makefile.in#AC_OUTPUT(\[#' \
|
||||
configure.in >configure.in.new && mv configure.in.new configure.in )
|
||||
grep "SUBDIRS.*intl" Makefile.am > /dev/null &&
|
||||
( sed -e 's#\(^SUBDIRS.*\) intl#\1#' Makefile.am >Makefile.am.new \
|
||||
&& mv Makefile.am.new Makefile.am )
|
||||
|
||||
echo "Running gettextize --copy $gettext_opt"
|
||||
gettextize --copy $gettext_opt || fail
|
||||
|
||||
Reference in New Issue
Block a user