| 103 | | .PHONY: all source prepare compile install clean |
|---|
| | 103 | update-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 |
|---|