Path: csiph.com!news.mixmin.net!news.unit0.net!news.nask.pl!news.nask.org.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Borneq Newsgroups: comp.os.linux.development.apps Subject: Re: How compile GNU make from sources? Date: Wed, 5 Dec 2018 19:02:52 +0100 Organization: ATMAN - ATM S.A. Lines: 23 Message-ID: References: NNTP-Posting-Host: public-gprs352740.centertel.pl Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: node2.news.atman.pl 1544032972 8748 37.47.9.37 (5 Dec 2018 18:02:52 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Wed, 5 Dec 2018 18:02:52 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 In-Reply-To: Content-Language: pl Xref: csiph.com comp.os.linux.development.apps:885 W dniu 05.12.2018 o 18:37, Tauno Voipio pisze: >> I want compile it from sources bacause I ant prepare it do not rebuild >> all after git commits. >> Make has one big disadvatage: after git commit of project, whole >> project is rebuild. > > > You may be barking up the wrong tree here: To force Make to rebuild > the whole kit and caboodle, GIT seeems to change the modification > timestamps of the files. It cannot be solved by changing Make. > I think, git not changes timestamps of my *.cpp files on commit, only on checkout (if I change branch) Make looks to .git directory and timestamp of any git file is changed. If I previously use ninja, no any *.cpp file was changes, buf "explain" give me EXPLAIN("recorded mtime of %s older than most recent input %s (%d vs %d)"... and EXPLAIN("command line changed for %s", output->path().c_str()); if I comment this, only changed *.cpp file was build