Replace rebuild-recipe with make cr.recipe and make ucr.recipe
This commit is contained in:
parent
7bec121856
commit
fb1478d9bf
10
mk/repo.mk
10
mk/repo.mk
|
@ -62,3 +62,13 @@ else
|
||||||
cd cookbook && \
|
cd cookbook && \
|
||||||
./unfetch.sh $*
|
./unfetch.sh $*
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Invoke clean.sh, and repo.sh for a single target
|
||||||
|
cr.%: $(FSTOOLS_TAG) FORCE
|
||||||
|
$(MAKE) c.$*
|
||||||
|
$(MAKE) r.$*
|
||||||
|
|
||||||
|
# Invoke unfetch.sh, clean.sh, and repo.sh for a single target
|
||||||
|
ucr.%: $(FSTOOLS_TAG) FORCE
|
||||||
|
$(MAKE) u.$*
|
||||||
|
$(MAKE) cr.$*
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
if [ -z "$1" ]
|
|
||||||
then
|
|
||||||
echo "$0: no argument provided"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -d "cookbook/recipes/$1" ]
|
|
||||||
then
|
|
||||||
echo "$0: $1 is not a recipe"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -rfv "cookbook/recipes/$1/"{source,source.tar,target}
|
|
||||||
make "r.$1"
|
|
Loading…
Reference in a new issue