only generate new stock header output if it differs
authorJohn Kohl <jtkohl@mit.edu>
Tue, 5 Mar 1991 10:50:59 +0000 (10:50 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 5 Mar 1991 10:50:59 +0000 (10:50 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1856 dc483132-0cff-0310-8789-dd5450dbe970

src/config/Project.tmpl

index 9378d31cf926a80f052724c8c144679c074acf48..a818bc108a7f533f49a14eaf5bce38af3dd6ff53 100644 (file)
@@ -153,8 +153,9 @@ includes:: hfile                                                    @@\
 #ifndef ProcessStockHeader
 #define ProcessStockHeader(stockname,newname)                          @@\
 newname: stockname Makefile                                            @@\
-       -$(RM) newname                                                  @@\
-       -$(UNIFDEF) $(PROCESS_DEFINES) stockname >newname
+       -$(RM) newname.new                                              @@\
+       -$(UNIFDEF) $(PROCESS_DEFINES) stockname >newname.new           @@\
+       CopyHeaderNewName(newname.new,.,newname)
 #endif /* ProcessStockHeader */
 
 /*