Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 3.1.6-dev-22



On Apr 12,  1:59pm, Zefram wrote:
} Subject: Re: 3.1.6-dev-22
}
} Bart Schaefer wrote:
} >> If you don't see a problem with changing the way zshpaths.h is made (and I
} >> presume you tried it out) then I certainly don't.
} >
} >Zefram?  I believe it's your test I'm proposing to delete ... or maybe it's
} >Zoltan's ...
} 
} It's really a policy decision: when should zshpaths.h be rebuilt.
} I've previously expressed my point of view on that -- that zshpaths.h
} should always be made consistent with the parameter values effective in
} the make in progress

That's a slightly different issue.  I'm proposing to have zshpaths.h built
*more* often, not less ... the test I want to remove *prevents* zshpaths.h
from being rebuilt in some circumstances.

Here's the (not committed to SourceForge) diff for reference:

--- zsh-forge/common/Src/zsh.mdd	Fri Jan 14 11:15:00 2000
+++ zsh-3.1.6/Src/zsh.mdd	Sat Apr  8 16:12:55 2000
@@ -49,13 +49,8 @@
 	    >>zshpaths.h.tmp; \
 	  fi; \
 	fi
-	@if cmp -s zshpaths.h zshpaths.h.tmp; then \
-	    rm -f zshpaths.h.tmp; \
-	    echo "\`zshpaths.h' is up to date." ; \
-	else \
-	    mv -f zshpaths.h.tmp zshpaths.h; \
-	    echo "Updated \`zshpaths.h'." ; \
-	fi
+	@mv -f zshpaths.h.tmp zshpaths.h; \
+	echo "Updated \`zshpaths.h'."
 
 bltinmods.list: modules.stamp modules-bltin xmods.conf mkbltnmlst.sh
 	srcdir='$(sdir)' MODBINS='modules-bltin' \

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author