summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfields_t <oth3r1if3@users.noreply.github.com>2004-03-20 18:58:41 +0000
committerfields_t <oth3r1if3@users.noreply.github.com>2004-03-20 18:58:41 +0000
commit7a040f577d82766dd7fd7ca06a3257deecae74f6 (patch)
treebe155beb0ef591bd7557f484c9f83f5869d006b4
parent24c7f5bf5297bf98c9dd905fae9c4c8e8812385b (diff)
downloadMPC-unlabeled-1.1.28.tar.gz
Fri Mar 19 15:35:27 MST 2004 Trevor Fields <fields_t@ociweb.com>unlabeled-1.1.28
-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;
}