fix webbpage copy
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								b36f2fb282
							
						
					
				
			
			
				commit
				
					
						f4dc8b28af
					
				
			
		
					 1 changed files with 7 additions and 5 deletions
				
			
		
							
								
								
									
										12
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -9,8 +9,10 @@ A2XM=a2x -f manpage --no-xmllint
 | 
				
			||||||
A2XH=asciidoc -b xhtml11
 | 
					A2XH=asciidoc -b xhtml11
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Developer only
 | 
					# Developer only
 | 
				
			||||||
WEBPAGEBASE=$$HOME/niconetz/software/cdist
 | 
					WEBDIR=$$HOME/niconetz
 | 
				
			||||||
WEBPAGE=$(WEBPAGEBASE).mdwn
 | 
					WEBBASE=software/cdist
 | 
				
			||||||
 | 
					WEBPAGE=$(WEBBASE).mdwn
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Documentation
 | 
					# Documentation
 | 
				
			||||||
MANDIR=doc/man
 | 
					MANDIR=doc/man
 | 
				
			||||||
| 
						 | 
					@ -113,9 +115,9 @@ test:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#web: manmove
 | 
					#web: manmove
 | 
				
			||||||
web:
 | 
					web:
 | 
				
			||||||
	cp README $(WEBPAGE)
 | 
						cp README $(WEBDIR)/$(WEBPAGE)
 | 
				
			||||||
	cp -r doc/html/* $(WEBPAGEBASE)/man
 | 
						cp -r doc/html/* $(WEBDIR)/$(WEBBASE)/man
 | 
				
			||||||
	cd $(WEBDIR) && git commit -m "cdist update" $(WEBPAGEBASE)
 | 
						cd $(WEBDIR) && git commit -m "cdist update" $(WEBBASE) $(WEBPAGE)
 | 
				
			||||||
	cd $(WEBDIR) && make pub
 | 
						cd $(WEBDIR) && make pub
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pub:
 | 
					pub:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue