Add DESTDIR-like variable to the example.
authorMichał Górny <mgorny@gentoo.org>
Fri, 18 Nov 2011 20:51:10 +0000 (20:51 +0000)
committerMichał Górny <mgorny@gentoo.org>
Fri, 18 Nov 2011 20:51:10 +0000 (20:51 +0000)
eclass/ChangeLog
eclass/scons-utils.eclass

index db39eec4222b966c8a00b80d25467dbb11ad701d..0d50f226e4e265e4abca7bd9d647e2d46bb1b9ad 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.16 2011/11/18 14:23:03 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.17 2011/11/18 20:51:10 mgorny Exp $
+
+  18 Nov 2011; Michał Górny <mgorny@gentoo.org> scons-utils.eclass:
+  Add DESTDIR-like variable to the example.
 
   18 Nov 2011; Bernard Cafarelli <voyageur@gentoo.org> gnustep-base.eclass:
   Set VARTEXFONTS for doc generation, fix sandbox access violation on
index 138115576cc4f1429299142d7b074bdf30370761..3654d1a39e71af2b5db46f1cb315054218e97b85 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/scons-utils.eclass,v 1.8 2011/10/30 14:30:24 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/scons-utils.eclass,v 1.9 2011/11/18 20:51:10 mgorny Exp $
 
 # @ECLASS: scons-utils.eclass
 # @MAINTAINER:
@@ -19,7 +19,7 @@
 # src_configure() {
 #      myesconsargs=(
 #              CC="$(tc-getCC)"
-#              $(use_scons nls ENABLE_NLS)
+#              $(use_scons nls ENABLE_NLS)
 #      )
 # }
 #
@@ -28,7 +28,8 @@
 # }
 #
 # src_install() {
-#      escons install
+#      # note: this can be DESTDIR, INSTALL_ROOT, ... depending on package
+#      escons DESTDIR="${D}" install
 # }
 # @CODE