summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlumag <lumag@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-21 13:10:58 +0000
committerlumag <lumag@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-21 13:10:58 +0000
commitbcfeba4339a400052b19daf159ed96c9071644ea (patch)
tree48bd9ef5f0fa45d3de81a9f8bd43dee04461b185
parentc8b5673a522a598028717d6dbf02bee175f95e01 (diff)
downloadmpv-bcfeba4339a400052b19daf159ed96c9071644ea.tar.bz2
mpv-bcfeba4339a400052b19daf159ed96c9071644ea.tar.xz
I don't think, that anybody likes seeng rm -f /* command :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10915 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--DOCS/xml/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/DOCS/xml/Makefile.inc b/DOCS/xml/Makefile.inc
index 5b14bfb753..5285b3b8c7 100644
--- a/DOCS/xml/Makefile.inc
+++ b/DOCS/xml/Makefile.inc
@@ -16,6 +16,7 @@ HTML_STYLESHEET ?= ../default.css
# This is the main target...
$(HTMLDIR)/index.html: documentation.xml $(XSL_DEPS)
+ @if test "$(HTMLDIR)" = "" ; then echo "Error: HTMLDIR not set!!!"; echo "Typically this means, that you've run make from subdir of DOCS/xml. Don't do this!" ; false; fi
-rm -f $(HTMLDIR)/*
../xmllint.sh $<
cp $(HTML_STYLESHEET) $(HTMLDIR)/