Makefile
changeset 927 c43baeec3a0e
parent 923 f3b193a0e566
child 928 05c1f958d465
--- a/Makefile	Sun Aug 14 12:10:29 2011 +0300
+++ b/Makefile	Sun Aug 14 12:21:07 2011 +0300
@@ -36,7 +36,7 @@
 $(HTML_DIR)/%.html: %.rst rst.css | $(HTML_DIR)
 	rst2html.py --stylesheet=rst.css $*.rst $@
 
-$(HTML_DIR)/index.html: index.sh | $(HTML_DIR)
+$(HTML_DIR)/index.html: index.sh $(filter-out $(HTML_DIR)/index.html,$(HTML_FILES)) | $(HTML_DIR)
 	./index.sh frame >$@
 
 $(HTML_DIR)/%.html: %.html | $(HTML_DIR)