introduce new web-doc target to publish only the web documentation
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								2b32e1e9f4
							
						
					
				
			
			
				commit
				
					
						4d63694e20
					
				
			
		
					 1 changed files with 5 additions and 2 deletions
				
			
		
							
								
								
									
										7
									
								
								build
									
										
									
									
									
								
							
							
						
						
									
										7
									
								
								build
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -331,14 +331,17 @@ eof
 | 
			
		|||
        done
 | 
			
		||||
    ;;
 | 
			
		||||
        
 | 
			
		||||
    web)
 | 
			
		||||
        set -e
 | 
			
		||||
    web-doc)
 | 
			
		||||
        rsync -av "${basedir}/docs/web/" "${WEBTOPDIR}"
 | 
			
		||||
 | 
			
		||||
        cd "${WEBDIR}" && git add "${WEBBASE}"
 | 
			
		||||
        cd "${WEBDIR}" && git commit -m "cdist update" "${WEBBASE}" "${WEBPAGE}"
 | 
			
		||||
        cd "${WEBDIR}" && make pub
 | 
			
		||||
    ;;
 | 
			
		||||
 | 
			
		||||
    web)
 | 
			
		||||
        set -e
 | 
			
		||||
        $0 web-doc
 | 
			
		||||
        # Fix ikiwiki, which does not like symlinks for pseudo security
 | 
			
		||||
        ssh tee.schottelius.org \
 | 
			
		||||
          "cd /home/services/www/nico/www.nico.schottelius.org/www/software/cdist/man &&
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue