Changeset f0ab706 in freewrt for package


Ignore:
Timestamp:
Jul 21, 2006, 2:10:42 AM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
b266f30
Parents:
ed2dd9f
Message:
  • use WRKSRC for patch, not WRKBUILD
  • fix clean target

XXX we should put the stamps into WRKDIR, i.e. use
XXX ${WRKDIR}/.prepared instead of ${WRKBUILD}/.prepared
XXX and get rid of the stamps in the stamps dir altogether

git-svn-id: svn://www.freewrt.org/trunk/freewrt@307 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package/rules.mk

    red2dd9f rf0ab706  
    5050ifneq (${DISTFILES},)
    5151$(WRKBUILD)/.prepared: ${DISTFILES}
    52         rm -rf $(WRKBUILD)
     52        rm -rf ${WRKSRC} ${WRKBUILD}
    5353        ${EXTRACT_CMD}
    54         [ ! -d ./patches ] || $(PATCH) $(WRKBUILD) ./patches
     54        [ ! -d ./patches ] || $(PATCH) $(WRKSRC) ./patches
    5555        touch $(WRKBUILD)/.prepared
    5656endif
     
    9191        @$(CMD_TRACE) "cleaning... "
    9292        @$(MAKE) clean-targets $(MAKE_TRACE)
    93         rm -rf $(WRKBUILD)
     93        rm -rf ${WRKDIR}
    9494
    9595.PHONY: all source prepare compile install clean
Note: See TracChangeset for help on using the changeset viewer.