(file) Return to CommitMakefile CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

Diff for /pegasus/mak/CommitMakefile between version 1.1 and 1.2

version 1.1, 2007/03/13 17:50:37 version 1.2, 2007/07/25 19:36:06
Line 118 
Line 118 
  
 TODAY = $(shell date +"%m%d%y") TODAY = $(shell date +"%m%d%y")
  
 FORCE:  ifeq ($(findstring LINUX_, $(PEGASUS_PLATFORM)), LINUX_)
       ECHO-E = echo -e
   else
       ECHO-E = echo
   endif
  
 error: error:
         @echo "Please specify a target (e.g., diff, add, remove, or commit)"          @$(ECHO-E) "Please specify a target (e.g., diff, add, remove, or commit)"
   
   FORCE:
  
 # Log in to CVS using the specified user account. # Log in to CVS using the specified user account.
 login: login:
Line 134 
Line 139 
  
 # Preview the commit message. # Preview the commit message.
 displayMessage: displayMessage:
         @echo $(MESSAGE) > tempCommitMessage          @$(ECHO-E) $(MESSAGE) > tempCommitMessage
         @cat tempCommitMessage         @cat tempCommitMessage
         @rm -f tempCommitMessage         @rm -f tempCommitMessage
  
Line 156 
Line 161 
     endif     endif
 endif endif
 ifndef NO_CHKSRC ifndef NO_CHKSRC
         @echo "Running chksrc to detect source code formatting errors."          @$(ECHO-E) "Running chksrc to detect source code formatting errors."
         @echo "Include NO_CHKSRC=1 on the command line to bypass this check."          @$(ECHO-E) "Include NO_CHKSRC=1 on the command line to bypass this check."
         chksrc $(ADDEDFILES) $(UPDATEDFILES)         chksrc $(ADDEDFILES) $(UPDATEDFILES)
 endif endif
  
Line 184 
Line 189 
 # files. # files.
 commit: chksrc commit: chksrc
         rm -f tempCommitMessage         rm -f tempCommitMessage
         echo $(MESSAGE) > tempCommitMessage          $(ECHO-E) $(MESSAGE) > tempCommitMessage
         cvs $(CVSUSER) commit $(PEGASUS_CVS_REVISION_OPTION) -F tempCommitMessage $(ADDEDFILES) $(UPDATEDFILES) $(REMOVEDFILES) >> commitout         cvs $(CVSUSER) commit $(PEGASUS_CVS_REVISION_OPTION) -F tempCommitMessage $(ADDEDFILES) $(UPDATEDFILES) $(REMOVEDFILES) >> commitout
         rm -f tempCommitMessage         rm -f tempCommitMessage
  


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2