From dcd42d9779857631dfa891453c847ba6e68ba647 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 13 Dec 2009 12:38:16 +0000 Subject: Use automatic variables instead of the target name. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29995 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'DOCS') diff --git a/DOCS/xml/Makefile.inc b/DOCS/xml/Makefile.inc index 2ef29064da..ce68ca2d8e 100644 --- a/DOCS/xml/Makefile.inc +++ b/DOCS/xml/Makefile.inc @@ -55,8 +55,8 @@ ifndef HTMLFILE $(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 -- cgit v1.2.3