jennex

Our Wedding Site
git clone git://git.alexkarle.com.com/jennex
Log | Files | Refs | README | LICENSE

Makefile (399B) [raw]


      1 HTML != for f in *.tmpl; do echo $$(basename $$f tmpl)html; done
      2 SCHEME != find . -name '*.scm'
      3 
      4 .PHONY: build
      5 build: build-html
      6 
      7 
      8 # Standalone target for Netlify, which doesn't have chicken-csc
      9 .PHONY: build-html
     10 build-html: $(HTML)
     11 
     12 .PHONY: clean
     13 clean:
     14 	rm -f $(HTML)
     15 
     16 .SUFFIXES: .tmpl .html
     17 .tmpl.html:
     18 	(cat header.html; cat $<; cat footer.html) > $@
     19 
     20 $(HTML): header.html footer.html Makefile