Replace rebuild-recipe with make cr.recipe and make ucr.recipe
This commit is contained in:
		
							parent
							
								
									7bec121856
								
							
						
					
					
						commit
						fb1478d9bf
					
				
					 2 changed files with 10 additions and 18 deletions
				
			
		
							
								
								
									
										10
									
								
								mk/repo.mk
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								mk/repo.mk
									
										
									
									
									
								
							|  | @ -62,3 +62,13 @@ else | |||
| 	cd cookbook && \
 | ||||
| 	./unfetch.sh $* | ||||
| 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jeremy Soller
						Jeremy Soller