From: Jeff Epler Date: Thu, 31 Jan 2013 13:25:27 GMT Subject: Re: [PATCH 1/1] Introduce new build variables INSTALL_MODE_EXECUTABLE and INSTALL_MODE_DATA. Message-ID: <20130131132526.GA10622@unpythonic.net> In-Reply-To: <5109D230.2030101@iam.tj> I was not familiar with this behavior of 'install -d' that it tries to change the mode of an existing directory, but GNU coreutils 8.12.197-032bb certainly behaves as TJ reports. As a possible alternative, what about [ -d $(DESTDIR)$(main1dir) ] || $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir) so that $(INSTALL) is not called when the target directory exists already. Jeff