# Processing using Latte markup # See http://latte.org/ # $Id: latte.mk,v 1.3 2001/02/26 12:40:50 mbp Exp $ # define LATTE_FLAGS and pages latte_pages=$(addsuffix .latte, $(pages)) html_pages=$(addsuffix .html, $(pages)) latte_all: $(html_pages) .PHONY: latte_clean clean all latte_all latte_clean: rm -f $(html_pages) clean: latte_clean %.html: %.latte $(latte_libs) latte-html $(addprefix -l, $(latte_libs)) $(LATTE_FLAGS) -o $@.tmp $< mv $@.tmp $@ upload_files += $(html_pages) %.txt: %.html lynx -dump -image_links $< >$@.tmp mv $@.tmp $@