summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/AutomakeWorkspaceCreator.pm30
1 files changed, 23 insertions, 7 deletions
diff --git a/modules/AutomakeWorkspaceCreator.pm b/modules/AutomakeWorkspaceCreator.pm
index f5571395..cea74d62 100644
--- a/modules/AutomakeWorkspaceCreator.pm
+++ b/modules/AutomakeWorkspaceCreator.pm
@@ -29,18 +29,34 @@ sub workspace_file_name {
}
+sub workspace_per_project {
+ #my($self) = shift;
+ return 1;
+}
+
+
sub pre_workspace {
my($self) = shift;
my($fh) = shift;
my($crlf) = $self->crlf();
- print $fh "##$crlf" .
- "## Process this file with automake$crlf" .
- "##$crlf" .
- "$crlf" .
- "## The number in AUTOMAKE_OPTIONS is the minimum required version automake$crlf" .
- "## needed to process this file.$crlf" .
- "AUTOMAKE_OPTIONS = 1.4$crlf$crlf";
+ print $fh '##', $crlf,
+ '## Process this file with automake', $crlf,
+ '##', $crlf,
+ $crlf,
+ '##', $crlf,
+ '## $Id$', $crlf,
+ '##', $crlf,
+ '## This file was generated by MPC. Any changes made directly to', $crlf,
+ '## this file will be lost the next time it is generated.', $crlf,
+ '##', $crlf,
+ '## MPC Command:', $crlf,
+ "## $0 @ARGV", $crlf,
+ '##', $crlf,
+ $crlf,
+ '## The number in AUTOMAKE_OPTIONS is the minimum required version automake', $crlf,
+ '## needed to process this file.', $crlf,
+ 'AUTOMAKE_OPTIONS = 1.4', $crlf, $crlf;
}