[Omake] SVN Commit: OMake Build System (Rev. 9366)
Aleksey Nogin
nogin at cs.caltech.edu
Thu Jun 22 18:48:02 PDT 2006
On 22.06.2006 12:31, Jason Hickey wrote:
> I would say "elseif" is stylistically preferable to
>
> else
> if
>
> if only to keep the indentation under control.
Offtopic - can "elseif" be considered "sufficiently standard" (as
opposed to elif/elsif in some other languages) to not be surprising to
people?
> Note the following:
> $(target-exists lm_printf.mli) == true
> $(target-exists lm_printf.cmi) == false
Turns out that if
%.cmi: %.mli :scanner: scan-ocaml-%.mli
$(OCamlC) -c $<
is replaced with
%.cmi: %.mli
section rule
%.cmi: %.mli :scanner: scan-ocaml-%.mli
$(OCamlC) -c $<
then the problem becomes hidden! Could it be that target-exists gets
confused by the scanner target somehow?
--
Aleksey Nogin
Home Page: http://nogin.org/
E-Mail: nogin at cs.caltech.edu (office), aleksey at nogin.org (personal)
Office: Moore 04, tel: (626) 395-2200
More information about the OMake-Devel
mailing list