Hack to prevent Makefile.config from being regenerated by "make clean"
This commit is contained in:
		
							parent
							
								
									22c900da08
								
							
						
					
					
						commit
						afbdd55334
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -8,8 +8,12 @@ define instantiate-template | ||||||
| 
 | 
 | ||||||
| endef | endef | ||||||
| 
 | 
 | ||||||
|  | ifneq ($(MAKECMDGOALS), clean) | ||||||
|  | 
 | ||||||
| %.h: %.h.in | %.h: %.h.in | ||||||
| 	$(trace-gen) rm -f $@ && ./config.status --quiet --header=$@ | 	$(trace-gen) rm -f $@ && ./config.status --quiet --header=$@ | ||||||
| 
 | 
 | ||||||
| %: %.in | %: %.in | ||||||
| 	$(trace-gen) rm -f $@ && ./config.status --quiet --file=$@ | 	$(trace-gen) rm -f $@ && ./config.status --quiet --file=$@ | ||||||
|  | 
 | ||||||
|  | endif | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue