# HG changeset patch # User Oleksandr Gavenko # Date 1320415116 -7200 # Node ID d07c0496cdfe84e57059a6b4d341c22125725de2 # Parent 6a41484fd3a4a1fc7d07589efc3a6b6ae87ac505 Split values. diff -r 6a41484fd3a4 -r d07c0496cdfe Makefile --- a/Makefile Fri Oct 14 00:38:24 2011 +0300 +++ b/Makefile Fri Nov 04 15:58:36 2011 +0200 @@ -34,7 +34,8 @@ TXT_FILES := $(wildcard *.txt) HTML_DIR := tips-html -HTML_FILES := $(patsubst %.rst,$(HTML_DIR)/%.html,$(RST_FILES)) $(HTML_DIR)/index.html $(HTML_DIR)/index-frame.html +RST_HTML_FILES := $(patsubst %.rst,$(HTML_DIR)/%.html,$(RST_FILES)) +HTML_FILES := $(RST_HTML_FILES) $(HTML_DIR)/index.html $(HTML_DIR)/index-frame.html TXT__FILES := $(addprefix $(HTML_DIR)/,$(TXT_FILES)) CHM_FILES := $(addprefix $(HTML_DIR)/,chm.hhp chm.hhc chm.stp) @@ -53,7 +54,7 @@ $(HTML_DIR)/%.html: %.rst rst.css | $(HTML_DIR) $(RST2HTML) --stylesheet=rst.css $*.rst $@ -$(HTML_DIR)/index.html: index.sh $(filter-out $(HTML_DIR)/index.html,$(HTML_FILES)) | $(HTML_DIR) +$(HTML_DIR)/index.html: index.sh $(RST_HTML_FILES) | $(HTML_DIR) ./index.sh frame >$@ $(HTML_DIR)/%.html: %.html | $(HTML_DIR)