Changeset 393

Show
Ignore:
Timestamp:
07/24/06 13:29:41 (2 years ago)
Author:
tg
Message:

my journey to add, by request(!) of wbx@, a MirPorts?-compatible
'make update-patches' target, starts here:
* add the target (disabled for now)
* copy the script

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/rules.mk

    r360 r393  
    101101        rm -rf ${WRKDIR} 
    102102 
    103 .PHONY: all source prepare compile install clean 
     103update-patches: 
     104        @echo >&2 not ready;exit 1 
     105        @toedit=$$(WRKDIST='${WRKSRC}' PATCHDIR=$$(pwd)/patches \ 
     106            PATCH_LIST='${PATCH_LIST}' DIFF_ARGS= \ 
     107            DISTORIG=.bak.orig PATCHORIG=.orig \ 
     108            ${BASH} ${TOPDIR}/scripts/update-patches); \ 
     109            if [[ -n $$toedit ]]; then \ 
     110                read i?'edit patches: '; \ 
     111                cd patches && $${VISUAL:-$${EDITOR:-/usr/bin/vi}} $$toedit; \ 
     112        fi 
     113 
     114.PHONY: all source prepare compile install clean update-patches