OpenBSD CVS

CVS log for src/usr.bin/make/cond.c


[BACK] Up to [local] / src / usr.bin / make

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_4_1_BASE


Revision 1.32 / (download) - annotate - [select for diffs], Thu Jan 4 18:01:32 2007 UTC (17 years, 5 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.31: +42 -7 lines
Diff to previous 1.31 (colored)

extend make grammar slightly:
- make it possible to have constructs like
.if $A$B == "value"
instead of simpler
.if $A == "value"

- make it possible to have explicit strings comparisons like:
.if "string" == "string2"

this comes in handy in .for loops, where the variable is expanded, and
thus there is no longer any variable for make to look at.

So in the end, the "" can sometimes be removed, but not always... small
price to pay to get `better' expressions.

okay otto@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.