From 2d803d2df11433f8d1be8d0c808420f0670b5f56 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 27 Dec 2011 10:23:20 +0100 Subject: Parse filenames from main.xml in Makefile using xsl --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 710c431..562d87d 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,8 @@ xsltproc=xsltproc --stringparam suffix $(suffix) svg2png=rsvg-convert -f png #pages=$(shell xmllint --xpath "//*/@filename" main.xml | sed 's/filename=//g'| xargs echo) -pages=$(shell sed -n 's/^.*filename="\([^"]*\)".*/\1/p' main.xml) +#pages=$(shell sed -n 's/^.*filename="\([^"]*\)".*/\1/p' main.xml) +pages=$(shell xsltproc xsl/main_filenames.xsl main.xml) pages_gen=$(pages:%.xml=%$(suffix)) -- cgit