move gnome_stage_includes() to autotools_stage_includes()
authorPhil Blundell <philb@gnu.org>
Sun, 1 Aug 2004 20:49:17 +0000 (20:49 +0000)
committerPhil Blundell <philb@gnu.org>
Sun, 1 Aug 2004 20:49:17 +0000 (20:49 +0000)
BKrev: 410d574dj3dh5taEen2rfMzCtQ1h2w

classes/autotools.oeclass
classes/gnome.oeclass

index 8f7127a..268f1bc 100644 (file)
@@ -111,4 +111,14 @@ autotools_do_install() {
        oe_runmake 'DESTDIR=${D}' install
 }
 
+STAGE_TEMP="${WORKDIR}/temp-staging"
+
+autotools_stage_includes() {
+       rm -rf ${STAGE_TEMP}
+       mkdir -p ${STAGE_TEMP}
+       make DESTDIR="${STAGE_TEMP}" install
+       cp -a ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
+       rm -rf ${STAGE_TEMP}
+}
+
 EXPORT_FUNCTIONS do_configure do_install
index ce20e7c..e09d5b0 100644 (file)
@@ -10,12 +10,6 @@ FILES_${PN} += "${datadir}/application-registry ${datadir}/mime-info"
 
 inherit autotools pkgconfig
 
-STAGE_TEMP="${WORKDIR}/temp-staging"
-
 gnome_stage_includes() {
-       rm -rf ${STAGE_TEMP}
-       mkdir -p ${STAGE_TEMP}
-       make DESTDIR="${STAGE_TEMP}" install
-       cp -a ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
-       rm -rf ${STAGE_TEMP}
+       autotools_stage_includes
 }