Make do with a2x when there is no asciidoctor
This commit is contained in:
		
							parent
							
								
									a09b11256b
								
							
						
					
					
						commit
						ec656d8b2a
					
				
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
									
									
									
									
								
							| @ -8,7 +8,8 @@ all: $(outputs) | ||||
| acid: acid.go | ||||
| 	go build -ldflags "-X 'main.projectVersion=$(version)'" -o $@ | ||||
| acid.1: acid.adoc | ||||
| 	asciidoctor -b manpage -a release-version=$(version) -o $@ acid.adoc | ||||
| 	asciidoctor -b manpage -a release-version=$(version) -o $@ acid.adoc || \
 | ||||
| 	a2x -d manpage -f manpage -a release-version=$(version) acid.adoc | ||||
| test: all | ||||
| 	go test | ||||
| clean: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user