On 24.10.2015 02:17, Sebastian Kapfer wrote:

Hi,

>> Patches should be documented by a header as described at
>> http://dep.debian.net/deps/dep3/. For example:
>>
>> Description: explain here why ${prefix}
>>  must replace @prefix@, I did not manage to guess it,
>>  and Sebastian may be interested.
> 
> As far as I can tell, those are equivalent.  (In fact, I've been thinking 
> about
> throwing out one of these mechanisms, then opted for the conservative solution
> for now.)  Is there a problem that needs fixing?
> 
In debian/rules I'm calling:

install: build
<snip>
        $(MAKE) install prefix=$(CURDIR)/debian/rubber/usr

..to install the files into a temporary directory to build the package. In case
we have @prefix@ in Makefile.in the variable is expanded during creation of
Makefile and now reads "/usr". Hence debian/rules tries to install to /usr,
which of course fails.

Hilmar
-- 
http://www.hilmar-preusse.de.vu/   #206401 http://counter.li.org

Reply via email to