From 8eb8512f07c9979ebb3db245b184ebcb643fd1e4 Mon Sep 17 00:00:00 2001 From: Arnaud Launay Date: Sat, 5 Oct 2002 18:11:28 +0000 Subject: [PATCH] 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 --- autogen.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/autogen.sh b/autogen.sh index 25a069ef3..463acf0a7 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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