[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#81854: make: weirdness with exported target-specific variables
From: |
Manoj Srivastava |
Subject: |
Re: Bug#81854: make: weirdness with exported target-specific variables |
Date: |
30 Jan 2001 01:28:30 -0600 |
User-agent: |
Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 |
Hi,
[Please retain the CC to address@hidden
that the Debian Bug Tracking system can record your input]
Apparently, target specific variables, even though marked for
export, are not exported tot he commands (however, the original value
is removed as well). Umm. Perhaps this example shall make this
clearer:
======================================================================
__> cat Makefile
export TARGET = unset
%: TARGET = $@
%:
@echo "'${TARGET}'" # prints '$@', OK
@echo "'$${TARGET}'" # prints ''!
__> make Some_Target
'Some_Target'
''
__>
======================================================================
manoj
--
"Interesting survey in the current Journal of Abnormal Psychology:
New York City has a higher percentage of people you shouldn't make
any sudden moves around than any other city in the world." David
Letterman
Manoj Srivastava <address@hidden> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Bug#81854: make: weirdness with exported target-specific variables,
Manoj Srivastava <=