bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Switching from relative paths to absolute directory specifications in ma


From: SF Markus Elfring
Subject: Switching from relative paths to absolute directory specifications in make scripts?
Date: Wed, 5 Jul 2017 15:34:22 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Hello,

I am fiddling with a few build scripts for another free software.


address@hidden:~/Projekte/Bau/OCamlbuild> rm -f src/glob_lexer.ml && LANG=C 
make --no-builtin-rules V=1 src/glob_lexer.ml; LANG=C make --no-builtin-rules 
V=1 ~/Projekte/Bau/OCamlbuild/src/glob_lexer.ml
make: *** No rule to make target 'src/glob_lexer.ml'.  Stop.
ocamllex.opt -o /home/elfring/Projekte/Bau/OCamlbuild/src/glob_lexer.ml 
/home/elfring/Projekte/OCaml/OCamlbuild/lokal/src/glob_lexer.mll
55 states, 419 transitions, table size 2006 bytes


This test result seems to show that it can make a significant difference
if such a target was specified by a relative or absolute path.
(I would expect that these specifications will refer to the same file.)

Do I need to extend the software build rules a bit more here?

Regards,
Markus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]