console-tools: clean up the way it handles its .m4 files
authorChris Larson <clarson@mvista.com>
Thu, 26 Feb 2009 23:28:47 +0000 (15:28 -0800)
committerChris Larson <clarson@kergoth.com>
Sun, 22 Mar 2009 02:58:22 +0000 (19:58 -0700)
Signed-off-by: Chris Larson <clarson@mvista.com>
recipes/console-tools/console-tools_0.3.2.bb

index 9e48c2c..46c8a28 100644 (file)
@@ -9,17 +9,11 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lct/console-tools-${PV}.tar.gz \
            file://compile.patch;patch=1 \
            file://kbdrate.patch;patch=1 \
            file://uclibc-fileno.patch;patch=1 \
-           file://config/*.m4"
+           file://config"
 
 export SUBDIRS = "fontfiletools vttools kbdtools screenfonttools contrib \
                  examples po intl compat"
 
-acpaths = "-I config"
-do_configure_prepend () {
-       mkdir -p config
-       cp ${WORKDIR}/config/*.m4 config/
-}
-
 do_compile () {
        oe_runmake -C lib
        oe_runmake 'SUBDIRS=${SUBDIRS}'
@@ -27,6 +21,8 @@ do_compile () {
 
 inherit autotools
 
+acpaths = "-I ${WORKDIR}/config"
+
 do_install () {
        autotools_do_install
        mv ${D}${bindir}/chvt ${D}${bindir}/chvt.${PN}