X-Git-Url: http://git.jankratochvil.net/?p=macros.git;a=blobdiff_plain;f=AutoGen.pm;h=1fad581227e167ad07ad64a884f7b9c09b8b1242;hp=4d7428f531bdc2d02d4c41f6f309e3ce516ada39;hb=d3c546bf5324f10f4fb176f873ab177f8e585408;hpb=02bad6751e0b4d5bb2f790baa332ad5ce92a05b9 diff --git a/AutoGen.pm b/AutoGen.pm index 4d7428f..1fad581 100644 --- a/AutoGen.pm +++ b/AutoGen.pm @@ -219,7 +219,7 @@ sub _cleanfiles ./stamp-h ./stamp-h.in ./stamp-h1 ./install-sh ./aclocal.m4 - ./autom4te-*.cache + ./autom4te.cache ./autom4te-*.cache ./m4 ./missing ./mkinstalldirs @@ -429,7 +429,11 @@ my($class,%options)=@_; _writefile $Makefile_in_in,$file; } } - _system "glib-gettextize",@copy_arg if $Options{"want-glib-gettextize"}; + if ($Options{"want-glib-gettextize"}) { + _system "glib-gettextize",@copy_arg; + # "po/ChangeLog" is somehow missing at this point + File::Touch->new("atime_only"=>1)->touch("po/ChangeLog"); + } _system "aclocal",map((!$_ ? () : @$_),$Options{"aclocal_args"}); _system qw(libtoolize),@copy_arg if $Options{"want-libtoolize"}; _system qw(autoheader) if $Options{"want-autoheader"};