Changeset 54f72bc in freewrt for package/rules.mk
- Timestamp:
- Jul 25, 2006, 1:36:46 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- ecb5fbe
- Parents:
- f3b127c
- File:
-
- 1 edited
-
package/rules.mk (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
package/rules.mk
rf3b127c r54f72bc 102 102 103 103 update-patches: 104 @echo >&2 not ready;exit 1 104 @test ! -d ${WRKDIR}.orig || rm -rf ${WRKDIR}.orig 105 @test ! -d ${WRKDIR}.orig 106 @$(MAKE) -s V=0 prepare WRKDIR=${WRKDIR}.orig PATCH=: 105 107 @toedit=$$(WRKDIST='${WRKSRC}' PATCHDIR=$$(pwd)/patches \ 106 PATCH_LIST='${PATCH_LIST}' DIFF_ARGS= \ 107 DISTORIG=.bak.orig PATCHORIG=.orig \ 108 PATCH_LIST='patch-* *.patch' WRKDIR1='${WRKDIR}' \ 108 109 ${BASH} ${TOPDIR}/scripts/update-patches); \ 109 if [[ -n $$toedit ]]; then \110 read i?'edit patches: '; \110 if [[ -n $$toedit && $$toedit != FAIL ]]; then \ 111 echo -n 'edit patches: '; read i; \ 111 112 cd patches && $${VISUAL:-$${EDITOR:-/usr/bin/vi}} $$toedit; \ 112 fi 113 fi; \ 114 rm -rf ${WRKDIR}.orig; \ 115 [[ $$toedit != FAIL ]] 113 116 114 117 .PHONY: all source prepare compile install clean update-patches
Note:
See TracChangeset
for help on using the changeset viewer.
