Changeset 24348


Ignore:
Timestamp:
2010-12-08T16:55:05+01:00 (7 years ago)
Author:
jow
Message:

[include] autotools.mk: introduce PKG_REMOVE_FILES to delete certain files after applying patches and before doing any fixups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/autotools.mk

    r24344 r24348  
    1818define autoreconf 
    1919        (cd $(PKG_BUILD_DIR); \ 
     20                $(patsubst %,rm -f %;,$(PKG_REMOVE_FILES)) \ 
    2021                if [ -x ./autogen.sh ]; then \ 
    2122                        ./autogen.sh || true; \ 
    2223                elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \ 
    23                         rm -f ./GNUmakefile; \ 
     24                        [ -f ./aclocal.m4 ] && [ ! -f ./acinclude.m4 ] && mv aclocal.m4 acinclude.m4; \ 
    2425                        $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \ 
     26                                -B $(STAGING_DIR)/host/share/aclocal \ 
    2527                                $(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS) || true; \ 
    2628                fi \ 
Note: See TracChangeset for help on using the changeset viewer.