Add plain documentation
This commit is contained in:
		
							parent
							
								
									d5a764afae
								
							
						
					
					
						commit
						9ff26c0748
					
				|  | @ -0,0 +1 @@ | |||
| source src/@NAME@/build.install-docs | ||||
|  | @ -0,0 +1,14 @@ | |||
| # create destination directories | ||||
| echo "Installing documentation into ${DOCSDIR}" | ||||
| build_dir_tree "${DOCSDIR}" || return 1 | ||||
| 
 | ||||
| # copy across the files (note this copies everything with mode 0644). | ||||
| for file in src/@NAME@/* | ||||
| do | ||||
|     [ "$(echo $(basename ${file}) | cut -b1-6)" == "build." ] && continue | ||||
|     install_file ${file} ${DOCSDIR} 0644 || return 1 | ||||
| done | ||||
| 
 | ||||
| print_success "Documentation installed" | ||||
| # kate: @KATE_MODELINE@ | ||||
| # vim: @VIM_MODELINE@ | ||||
|  | @ -0,0 +1,12 @@ | |||
| if [ $# -ne 0 ] | ||||
| then | ||||
|     print_failure "Too many arguments. None required for this module." | ||||
|     exit 1 | ||||
| fi | ||||
| 
 | ||||
| do_parameter_subst | ||||
| add_config_option "DOCSDIR" "${COPT_DOCSDIR_DEFAULT}" | ||||
| true | ||||
| 
 | ||||
| # kate: replace-trailing-space-save true; space-indent true; tab-width 4; | ||||
| # vim: expandtab:ts=4:sw=4 | ||||
		Loading…
	
		Reference in New Issue
	
	 Laurence Withers
						Laurence Withers