diff options
author | Phil Blundell <philb@gnu.org> | 2004-08-01 20:49:17 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-08-01 20:49:17 +0000 |
commit | c0618c94f82334a7e8518c0475d2588587c1dd06 (patch) | |
tree | 8aba79312c2c8778c2306ba24c286f83098a0591 | |
parent | c6f4f4a2685cb8bc6715402f75f060d2f149d502 (diff) |
move gnome_stage_includes() to autotools_stage_includes()
BKrev: 410d574dj3dh5taEen2rfMzCtQ1h2w
-rw-r--r-- | classes/autotools.oeclass | 10 | ||||
-rw-r--r-- | classes/gnome.oeclass | 8 |
2 files changed, 11 insertions, 7 deletions
diff --git a/classes/autotools.oeclass b/classes/autotools.oeclass index 8f7127a536..268f1bc978 100644 --- a/classes/autotools.oeclass +++ b/classes/autotools.oeclass @@ -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 diff --git a/classes/gnome.oeclass b/classes/gnome.oeclass index ce20e7c19b..e09d5b0f51 100644 --- a/classes/gnome.oeclass +++ b/classes/gnome.oeclass @@ -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 } |