diff options
author | Lluis Sanchez <lluis@novell.com> | 2009-08-17 18:33:39 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2009-08-17 18:33:39 +0400 |
commit | b3a90b636ac0578eda608d59f2df0a3ff833d1c7 (patch) | |
tree | 7f56aadd95239419c74b857a9605789c7b8c200a /main/src/addins/MonoDevelop.Autotools/CustomMakefile.cs | |
parent | e4df23cd18ccfb2fca1f55b6458fb6c8e18dcd44 (diff) |
* MakefileData.cs:
* CustomMakefile.cs: Track api changes.
svn path=/trunk/monodevelop/; revision=140071
Diffstat (limited to 'main/src/addins/MonoDevelop.Autotools/CustomMakefile.cs')
-rw-r--r-- | main/src/addins/MonoDevelop.Autotools/CustomMakefile.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Autotools/CustomMakefile.cs b/main/src/addins/MonoDevelop.Autotools/CustomMakefile.cs index f124f24649..5891c9e95e 100644 --- a/main/src/addins/MonoDevelop.Autotools/CustomMakefile.cs +++ b/main/src/addins/MonoDevelop.Autotools/CustomMakefile.cs @@ -37,11 +37,14 @@ using System.Text; using MonoDevelop.Core; using System.Text.RegularExpressions; using MonoDevelop.Projects; +using MonoDevelop.Core.Instrumentation; namespace MonoDevelop.Autotools { public class CustomMakefile { + static Counter UpdatedMakefiles = InstrumentationService.CreateCounter ("Updated Makefiles", "Project Model"); + string content; //FIXME: Improve the regex static string multilineMatch = @"(((?<content>.*)(?<!\\)\n)|((?<content>.*?)\s*\\\n([ \t]*(?<content>.*?)\s*\\\n)*[ \t]*(?<content>.*?)(?<!\\)\n))"; @@ -257,7 +260,8 @@ namespace MonoDevelop.Autotools using (StreamWriter sw = new StreamWriter (fileName)) sw.Write (content); - + + UpdatedMakefiles++; FileService.NotifyFileChanged (fileName); } |