config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 9c1071896127f15aea5df251ae35907b37404600
parent c68e836a5eba513bf70a5444bb6e4e1951e308be
Author: Jacob R. Edwards <n/a>
Date:   Mon,  7 Feb 2022 17:46:50 -0800

Add the ready target

This is identical to the ${dir} target, but can be used recursively.

Diffstat:
Mlocal/src/src/fork/Makefile | 2+-
Mlocal/src/src/fork/common.mk | 6++++--
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/local/src/src/fork/Makefile b/local/src/src/fork/Makefile @@ -4,7 +4,7 @@ SUBDIRS =\ herbe\ slstatus\ -all distclean clean patch build install uninstall: +all distclean clean ready patch build install uninstall: .for SUBDIR in ${SUBDIRS} cd ${SUBDIR} && make $@ .endfor diff --git a/local/src/src/fork/common.mk b/local/src/src/fork/common.mk @@ -8,7 +8,9 @@ distclean: clean: rm -rf patched ${dir} -patch: ${dir} +ready: ${dir} + +patch: ready if test -d patches -a '!' -e patched; then \ for patch in patches/*; do \ patch -d ${dir} -p 1 < $$patch; \ @@ -22,4 +24,4 @@ ${dir}: ${arc} (*.git) git -C ${arc} archive --format=tar --prefix=${dir}/ ${ref};; \ esac < ${arc} | pax -r -.PHONY: all distclean clean patch +.PHONY: all distclean clean ready patch