aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: 3411a2b3298658ae61f4d7c24cd7aa3ea3e26009 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                      
                      
 
                                                                         
 

                    

                      
                                                              
 





                                                                                      
# GNU Make is required

.PHONY: upload default

default: build/language_description.html build/index.html build/style.css

.SUFFIXES: .md .html

build/%.html: %.md
	mkdir -p build
	pandoc --preserve-tabs --mathml -so $@ -c style.css $<

build/%.css: %.css
	mkdir -p build
	cp $< $@

upload:
	rsync --delete-after --recursive --mkpath build/ runxiyu.org:/var/www/docs/e2/