[Openvas-devel] [Openvas-commits] r180 - trunk/openvas-libraries

Bernhard Herzog bh at intevation.de
Thu May 10 11:48:38 CEST 2007


On Wednesday 09 May 2007 21:11, scm-commit at wald.intevation.org wrote:
> * nessus-config.pre.in, Makefile: Removed DESTDIR. It looks
> pretty useless as it needs to be set in the shell.
> It was introduced in Nessus 1.3.1.
[...]
> -	test -d $(DESTDIR)${prefix} || ${INSTALL_DIR} -m 755 $(DESTDIR)${prefix}
> -	test -d $(DESTDIR)${libdir} || ${INSTALL_DIR} -m 755 $(DESTDIR)${libdir}
> +	test -d ${prefix} || ${INSTALL_DIR} -m 755 ${prefix}
> +	test -d ${libdir} || ${INSTALL_DIR} -m 755 ${libdir}

It seems to me that DESTDIR is used help with building binary packages
for Linux distributions.  You compile and install with prefix /usr but
with DESTDIR set all files end up under DESTDIR so that you can easily
package them without having to actually modify the system outside of
your build directory.

   Bernhard

PS: The openvas-commits should have a reply-to header pointing to
openvas-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.wald.intevation.org/pipermail/openvas-devel/attachments/20070510/d3f983bc/attachment.pgp


More information about the Openvas-devel mailing list