Git development
 help / color / mirror / Atom feed
* disable the compile-flags-changed check
@ 2006-07-14  5:47 Matthias Lederhofer
  2006-07-14  6:06 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Lederhofer @ 2006-07-14  5:47 UTC (permalink / raw)
  To: git

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?  Otherwise: could we include something like this?

ifeq ($(IGNORE_CFLAG_CHANGES),)
# old GIT-CFLAGS rules
else
GIT-CFLAGS:
        touch "$@"
endif

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: disable the compile-flags-changed check
  2006-07-14  5:47 disable the compile-flags-changed check Matthias Lederhofer
@ 2006-07-14  6:06 ` Junio C Hamano
  2006-07-15 19:51   ` Matthias Lederhofer
  0 siblings, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2006-07-14  6:06 UTC (permalink / raw)
  To: Matthias Lederhofer; +Cc: git

Matthias Lederhofer <matled@gmx.net> writes:

> 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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: disable the compile-flags-changed check
  2006-07-14  6:06 ` Junio C Hamano
@ 2006-07-15 19:51   ` Matthias Lederhofer
  2006-07-15 21:48     ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Lederhofer @ 2006-07-15 19:51 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Junio C Hamano <junkio@cox.net> wrote:
> Matthias Lederhofer <matled@gmx.net> writes:
> 
> > 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: disable the compile-flags-changed check
  2006-07-15 19:51   ` Matthias Lederhofer
@ 2006-07-15 21:48     ` Junio C Hamano
  0 siblings, 0 replies; 4+ messages in thread
From: Junio C Hamano @ 2006-07-15 21:48 UTC (permalink / raw)
  To: Matthias Lederhofer; +Cc: git

Matthias Lederhofer <matled@gmx.net> writes:

> Junio C Hamano <junkio@cox.net> wrote:
>> Matthias Lederhofer <matled@gmx.net> writes:
>> 
>> > 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-07-15 21:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-14  5:47 disable the compile-flags-changed check Matthias Lederhofer
2006-07-14  6:06 ` Junio C Hamano
2006-07-15 19:51   ` Matthias Lederhofer
2006-07-15 21:48     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox