Date: Mon, 15 Feb 2021 00:38:55 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253523] make: VPATH works, .PATH does not Message-ID: <bug-253523-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253523 Bug ID: 253523 Summary: make: VPATH works, .PATH does not Product: Base System Version: 11.4-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: mi@FreeBSD.org I'd like to be able to specify the actual location of the sources on make's command line. Doing it with make .PATH=3D/path/to/sources does not work. But make VPATH=3D/path/to/sources works. The manual page labels VPATH as deprecated -- advising use of .PATH instead. Clearly, .PATH is not a complete replacement. However, .PATH is also frowned upon by the manual page... I suppose, I can always add a line like: .PATH: ${THEPATH} then invoke make with THEPATH=3D/path/to/sources -- but why is this any bet= ter? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253523-227>