[MPlayer-DOCS] r29995 - trunk/DOCS/xml/Makefile.inc

diego subversion at mplayerhq.hu
Sun Dec 13 13:38:16 CET 2009


Author: diego
Date: Sun Dec 13 13:38:16 2009
New Revision: 29995

Log:
Use automatic variables instead of the target name.

Modified:
   trunk/DOCS/xml/Makefile.inc

Modified: trunk/DOCS/xml/Makefile.inc
==============================================================================
--- trunk/DOCS/xml/Makefile.inc	Sun Dec 13 13:31:26 2009	(r29994)
+++ trunk/DOCS/xml/Makefile.inc	Sun Dec 13 13:38:16 2009	(r29995)
@@ -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


More information about the MPlayer-DOCS mailing list