Thread (1 message) 1 message, 1 author, 2016-06-15

Re: disable the compile-flags-changed check

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:33

Matthias Lederhofer [off-list ref] writes:
Junio C Hamano [off-list ref] wrote:
quoted
Matthias Lederhofer [off-list ref] writes:
quoted
Is there any way to disable the "the compile flags have changed,
recompile everything" check?  I want to built with another prefix than
installing to create a tarball I copy to other machines.  Is there any
way to do this?
Perhaps

	DESTDIR=/var/tmp/ make prefix=/usr install

is what you are looking for?
Thanks, this works.
By the way, in older days before binary distributions have
become _the_ way for the end users to get programs, "install
into a saparate place for tarring up" needed to be custom job
per package, because Makefiles of many packages were not set up
to easily allow it (like DESTDIR= stuff).  These days, allowing
it is almost a requirement in order to make binary distros'
lives easier, so if a program is packaged for some binary
distros (say, RPM or deb), often the easiest way to figure out
the answer to your question is to see how they build their
packages out of the source.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help