[kupfer] help: Update Makefile to work with recent Mallard



commit 53f720a17b26e9c445dbe48da09c7122924541c8
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Tue Mar 8 16:11:26 2011 +0100

    help: Update Makefile to work with recent Mallard
    
    The makefile is only there to build preview html pages.

 help/C/Makefile |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/help/C/Makefile b/help/C/Makefile
index c936acd..9712bf1 100644
--- a/help/C/Makefile
+++ b/help/C/Makefile
@@ -4,12 +4,13 @@ htmls=$(patsubst %.page,%.html,$(pages))
 all: $(htmls) index.cache
 
 index.cache : $(pages)
-	echo '<cache xmlns="http://projectmallard.org/1.0/";>' > $  in
+	echo '<cache:cache xmlns:cache="http://projectmallard.org/cache/1.0/";' >$  in
+	echo '             xmlns="http://projectmallard.org/1.0/";>'           >> $  in
 	for page in $(pages); do \
-	  echo "<page href='$$page'/>" >> $  in; \
+		echo "<page cache:href='$$page'/>" >> $  in; \
 	done
-	echo '</cache>' >> $  in
-	xsltproc `pkg-config --variable xsltdir gnome-doc-utils`/mallard/utils/mal2cache.xsl $  in | xmllint --format - > $@
+	echo '</cache:cache>' >> $  in
+	xsltproc `pkg-config --variable xsltdir gnome-doc-utils`/mallard/cache/mal-cache.xsl $  in | xmllint --format - > $@
 	rm $  in
 
 $(htmls) : index.cache



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]