Add fb2 target
This commit is contained in:
		
							
								
								
									
										10
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Makefile
									
									
									
									
									
								
							| @@ -1,7 +1,15 @@ | |||||||
| all: translators version time | all: pdf fb2 | ||||||
|  |  | ||||||
|  | pdf: metadata | ||||||
| 	rubber -m xelatex faif-2.0.tex | 	rubber -m xelatex faif-2.0.tex | ||||||
| 	cp faif-2.0.pdf faif-2.0-$(shell git describe --abbrev=0 --tags).pdf | 	cp faif-2.0.pdf faif-2.0-$(shell git describe --abbrev=0 --tags).pdf | ||||||
|  |  | ||||||
|  | fb2: metadata | ||||||
|  | 	pandoc -t fb2 faif-2.0.tex > faif-2.0.fb2 | ||||||
|  | 	cp faif-2.0.fb2 faif-2.0-$(shell git describe --abbrev=0 --tags).fb2 | ||||||
|  |  | ||||||
|  | metadata: translators version time | ||||||
|  |  | ||||||
| open: all | open: all | ||||||
| 	xdg-open faif-2.0.pdf | 	xdg-open faif-2.0.pdf | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user