Add support for './make.sh <module>'
This commit is contained in:
		
							parent
							
								
									33cd0e4daf
								
							
						
					
					
						commit
						cffa0b8b48
					
				| 
						 | 
					@ -225,7 +225,12 @@ install_symlink() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
build_target() {
 | 
					build_target() {
 | 
				
			||||||
 | 
					    ITEMS="src/$1/build.default"
 | 
				
			||||||
 | 
					    if [ ! -e "${ITEM}" ]
 | 
				
			||||||
 | 
					    then
 | 
				
			||||||
        ITEMS="$(find src -type f -name build.$1)"
 | 
					        ITEMS="$(find src -type f -name build.$1)"
 | 
				
			||||||
 | 
					    fi
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
    if [ -z "${ITEMS}" ]
 | 
					    if [ -z "${ITEMS}" ]
 | 
				
			||||||
    then
 | 
					    then
 | 
				
			||||||
        print_failure "Unrecognised target '$1'"
 | 
					        print_failure "Unrecognised target '$1'"
 | 
				
			||||||
| 
						 | 
					@ -274,3 +279,6 @@ do
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
exit 0
 | 
					exit 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
 | 
				
			||||||
 | 
					# vim: expandtab:ts=4:sw=4
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue