22 lines
		
	
	
		
			516 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			516 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| 
 | |
| CC=pandoc
 | |
| 
 | |
| RENDERS= ch1.html ch2.html ch3.html blog.html
 | |
| 
 | |
| html: $(RENDERS)
 | |
| 
 | |
| $(RENDERS): %.html : %.txt
 | |
| 	$(CC) $^ -o $@
 | |
| 
 | |
| neocities:
 | |
| 	~/Documents/edit/neopublish.sh ch1.html > renders/ch1.html
 | |
| 	~/Documents/edit/neopublish.sh ch2.html > renders/ch2.html
 | |
| 	~/Documents/edit/neopublish.sh ch3.html > renders/ch3.html
 | |
| 	~/Documents/edit/neopublish.sh blog.html > renders/blog.html
 | |
| 	cd renders; \
 | |
| 		python ~/Documents/edit/generate_neonav.py ./ch1.html ./ch2.html ./ch3.html ./blog.html
 | |
| 
 | |
| clean:
 | |
| 	rm $(RENDERS)
 | |
| 	rm renders/*
 |