changeset 29953:ff601a46cbaf

Use automatic variables instead of the target name.
author diego
date Sun, 13 Dec 2009 12:38:16 +0000
parents f3b569ce6791
children 740cba0e78ae
files DOCS/xml/Makefile.inc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/xml/Makefile.inc	Sun Dec 13 12:31:26 2009 +0000
+++ b/DOCS/xml/Makefile.inc	Sun Dec 13 12:38:16 2009 +0000
@@ -55,8 +55,8 @@
 	$(warning Typically this means, that you've run make from a subdir of DOCS/xml.)
 	$(error Don't do this!)
 endif
-	cp -f $(HTML_STYLESHEET) `dirname $(HTMLFILE)`
-	../xsltproc.sh $(HTMLFILE) $(HTML_SINGLE_XSL) $<
+	cp -f $(HTML_STYLESHEET) `dirname $@`
+	../xsltproc.sh $@ $(HTML_SINGLE_XSL) $<
 
 ../html-chunk.xsl ../html-single.xsl main.xml:
 	cd .. && sh configure