Commits

Shlomi Fish committed f669ce7

Made the makefile more error-resistent.

  • Participants
  • Parent commits 3b368cc

Comments (0)

Files changed (1)

File vim-begin/jekyll-prototype/Makefile

-GENERATED_HTMLS = _site/index.html _site/books/index.html _site/mailing-lists/index.html
+# GENERATED_HTMLS = _site/index.html _site/books/index.html _site/mailing-lists/index.html
+SOURCES = $(shell find src -name '*.html') _config.yml atom.xml CNAME README.textile
+GENERATED_HTMLS = $(shell find _site -name '*.html')
 GENERATED_CSS = src/css/style.css
 
 all: $(GENERATED_HTMLS) $(GENERATED_CSS)
 
-$(GENERATED_HTMLS) : atom.xml CNAME _config.yml pgp.txt README.textile src/_layouts/default.html src/index.html src/books/index.html src/mailing-lists/index.html src/about.html
+$(GENERATED_HTMLS) : $(SOURCES)
 	jekyll
 
 $(GENERATED_CSS) : sass/jqui-override.sass sass/style.sass sass/print.sass sass/vim_syntax_highlighting.sass