summaryrefslogtreecommitdiff
path: root/automake.in
diff options
context:
space:
mode:
authorAkim Demaille <akim@epita.fr>2001-10-30 16:50:14 +0000
committerAkim Demaille <akim@epita.fr>2001-10-30 16:50:14 +0000
commitd0e5c5f582b185dd06155cb9a85fdce25ebb27ef (patch)
tree57f1495ddaa539278a5cd246af527b0f892cd505 /automake.in
parent123a9695f958d8f32c83fcc8b90ac050b4b90133 (diff)
downloadautomake-d0e5c5f582b185dd06155cb9a85fdce25ebb27ef.tar.gz
* automake.in (&create): Reinstall.
Diffstat (limited to 'automake.in')
-rwxr-xr-xautomake.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/automake.in b/automake.in
index 1d1393837..0661edb81 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