9 lines
		
	
	
	
		
			248 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			248 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| : $Id$
 | |
| 
 | |
| : remove dependencies from a makefile, write result on standard output.
 | |
| : we cannot do this directly in a makefile because some make versions
 | |
| : have # start a comment, always.
 | |
| 
 | |
| sed -e '/^#DEPENDENCIES/,$d' $1
 | |
| echo '#DEPENDENCIES'
 |