[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CURDIR for cur-dir in example in manual
From: |
Marty Leisner |
Subject: |
CURDIR for cur-dir in example in manual |
Date: |
Thu, 19 Jan 2006 16:04:35 -0500 |
Just looked at the most recent CVS copy of the manual on savannah...
the technique for recursive makefiles of
ifeq (0,address@hidden@})
cur-dir := $(shell pwd)
is discussed, and passing pwd down with
${MAKE} cur-dir=${cur-dir}/$@ -C $@ all
Isn't it a better idea to just use ${CURDIR}?
Maybe the example should also mention this?
(I just discovered ${CURDIR} recently, I've been doing
what the example does for years...)
marty address@hidden
Don't confuse education with schooling.
Milton Friedman to Yogi Berra
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- CURDIR for cur-dir in example in manual,
Marty Leisner <=