From: Akim Demaille Date: Tue, 30 Oct 2001 16:50:14 +0000 (+0000) Subject: * automake.in (&create): Reinstall. X-Git-Tag: Release-1-5b~52 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=b7d662cd2bad541c3c830a353c3ed137fcea4591;p=automake.git * automake.in (&create): Reinstall. --- diff --git a/ChangeLog b/ChangeLog index 5599862a..e2b2be42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ 2001-10-30 Akim Demaille - * automake.in (append_exeext): Use macro_delete. + * automake.in (&create): Reinstall. + +2001-10-30 Akim Demaille + + * automake.in (&append_exeext): Use macro_delete. 2001-10-30 Akim Demaille diff --git a/automake.in b/automake.in index 1d139383..0661edb8 100755 --- a/automake.in +++ b/automake.in @@ -7888,6 +7888,17 @@ sub set_strictness ################################################################ +# Ensure a file exists. +sub create +{ + use IO::File; + my ($file) = @_; + + my $touch = new IO::File (">> $file"); + $touch->close; +} + + # Glob something. Do this to avoid indentation screwups everywhere we # want to glob. Gross! sub my_glob