Changeset 8f30051 in freewrt


Ignore:
Timestamp:
Jul 24, 2006, 1:29:41 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
0051873
Parents:
54e126e
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

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

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • package/rules.mk

    r54e126e r8f30051  
    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
Note: See TracChangeset for help on using the changeset viewer.