tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: destdir: 'make package' inconsistency



On May 27,  8:40am, Thomas Klausner wrote:
} On Sun, Jan 04, 2009 at 09:59:50PM +0900, OBATA Akio wrote:
} > On Sun, 04 Jan 2009 20:53:48 +0900, Thomas Klausner 
<wiz%netbsd.org@localhost> wrote:
} > 
} > > I've not so recently noticed that 'make package' with destdir has
} > > different behaviour than without destdir.
} > >
} > > Currently (without destdir), make package does
} > >   make && make install && create binary package
} > > With destdir, it does
} > >   make && create binary package
} > > but doesn't install it.
} > 
} > No. Even if destdir, make && make install && create binary package.
} > Just "make install" install files in destdir.
} > 
} > If you want to create && install package, do "make package-install" instead.
} 
} Ok, so it looks like the fault lies not with 'make package' but with
} 'make install', and my description :)
} 
} Without destdir:
}       make install
} -> all files are in ${PREFIX}
} With destdir:
}       make install
} -> no files are in ${PREFIX}
} 
} So let's keep 'make install' behaving the same, and add a
} 'destdir-install' for those who want it :)

     It already has a name; it's called "setenv USE_DESTDIR full".  If
you don't set the environment variable, all files are in ${PREFIX}.

}-- End of excerpt from Thomas Klausner


Home | Main Index | Thread Index | Old Index