{"thread":{"id":"4882","subject":"disable the compile-flags-changed check","startedAt":"2006-07-14T05:47:02Z","lastAt":"2006-07-15T21:48:18Z","messageCount":4,"participants":["Matthias Lederhofer","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"23802","messageId":"E1G1GVy-00007o-PM@moooo.ath.cx","threadId":"4882","inReplyTo":null,"subject":"disable the compile-flags-changed check","fromName":"Matthias Lederhofer","fromEmail":"matled@gmx.net","sentAt":"2006-07-14T05:47:02Z","receivedAt":"2006-07-14T05:47:02Z","isPatch":false,"sender":{"key":"matled@gmx.net","avatar":null},"body":"Is there any way to disable the \"the compile flags have changed,\nrecompile everything\" check?  I want to built with another prefix than\ninstalling to create a tarball I copy to other machines.  Is there any\nway to do this?  Otherwise: could we include something like this?\n\nifeq ($(IGNORE_CFLAG_CHANGES),)\n# old GIT-CFLAGS rules\nelse\nGIT-CFLAGS:\n        touch \"$@\"\nendif\n"},{"id":"23805","messageId":"7v7j2gsotv.fsf@assigned-by-dhcp.cox.net","threadId":"4882","inReplyTo":"E1G1GVy-00007o-PM@moooo.ath.cx","subject":"Re: disable the compile-flags-changed check","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-07-14T06:06:04Z","receivedAt":"2006-07-14T06:06:04Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Matthias Lederhofer <matled@gmx.net> writes:\n\n> Is there any way to disable the \"the compile flags have changed,\n> recompile everything\" check?  I want to built with another prefix than\n> installing to create a tarball I copy to other machines.  Is there any\n> way to do this?\n\nPerhaps\n\n\tDESTDIR=/var/tmp/ make prefix=/usr install\n\nis what you are looking for?\n"},{"id":"23864","messageId":"E1G1qAS-0005gv-P7@moooo.ath.cx","threadId":"4882","inReplyTo":"7v7j2gsotv.fsf@assigned-by-dhcp.cox.net","subject":"Re: disable the compile-flags-changed check","fromName":"Matthias Lederhofer","fromEmail":"matled@gmx.net","sentAt":"2006-07-15T19:51:12Z","receivedAt":"2006-07-15T19:51:12Z","isPatch":false,"sender":{"key":"matled@gmx.net","avatar":null},"body":"Junio C Hamano <junkio@cox.net> wrote:\n> Matthias Lederhofer <matled@gmx.net> writes:\n> \n> > Is there any way to disable the \"the compile flags have changed,\n> > recompile everything\" check?  I want to built with another prefix than\n> > installing to create a tarball I copy to other machines.  Is there any\n> > way to do this?\n> \n> Perhaps\n> \n> \tDESTDIR=/var/tmp/ make prefix=/usr install\n> \n> is what you are looking for?\nThanks, this works.\n"},{"id":"23865","messageId":"7vbqrqmtel.fsf@assigned-by-dhcp.cox.net","threadId":"4882","inReplyTo":"E1G1qAS-0005gv-P7@moooo.ath.cx","subject":"Re: disable the compile-flags-changed check","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-07-15T21:48:18Z","receivedAt":"2006-07-15T21:48:18Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Matthias Lederhofer <matled@gmx.net> writes:\n\n> Junio C Hamano <junkio@cox.net> wrote:\n>> Matthias Lederhofer <matled@gmx.net> writes:\n>> \n>> > Is there any way to disable the \"the compile flags have changed,\n>> > recompile everything\" check?  I want to built with another prefix than\n>> > installing to create a tarball I copy to other machines.  Is there any\n>> > way to do this?\n>> \n>> Perhaps\n>> \n>> \tDESTDIR=/var/tmp/ make prefix=/usr install\n>> \n>> is what you are looking for?\n>\n> Thanks, this works.\n\nBy the way, in older days before binary distributions have\nbecome _the_ way for the end users to get programs, \"install\ninto a saparate place for tarring up\" needed to be custom job\nper package, because Makefiles of many packages were not set up\nto easily allow it (like DESTDIR= stuff).  These days, allowing\nit is almost a requirement in order to make binary distros'\nlives easier, so if a program is packaged for some binary\ndistros (say, RPM or deb), often the easiest way to figure out\nthe answer to your question is to see how they build their\npackages out of the source.\n"}]}