| От | Peter Eisentraut |
|---|---|
| Тема | Re: SGML index build fix |
| Дата | |
| Msg-id | 200701071958.25157.peter_e@gmx.net обсуждение исходный текст |
| Ответ на | Re: SGML index build fix (Bruce Momjian <bruce@momjian.us>) |
| Список | pgsql-patches |
Bruce Momjian wrote:
> I wrote:
>
> ifeq (,$(wildcard bookindex.valid))
> echo "Run 'gmake' again to generate output with a proper index"
> endif
>
> but that warns on the first _two_ runs, meaning it expanded at the
> time the rule started, not at the time it hit that line.
This expands at the time the makefile is read. You may get it to work
with
target:
$(if $(wildcard blah), this, that)
The following may be helpful:
http://www.gnu.org/software/make/manual/html_node/Reading-Makefiles.html#Reading-Makefiles
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера