mirror of
https://github.com/mpv-player/mpv
synced 2024-12-09 16:36:15 +00:00
dc0adf6e20
modifications and improvements by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10310 b3059339-0415-0410-9bf9-f77b7e298cf2
26 lines
628 B
Makefile
26 lines
628 B
Makefile
#
|
|
# Makefile.inc for Makefiles in subdirectories.
|
|
#
|
|
|
|
# Use customized html.xsl file if it exists...
|
|
ifeq (html.xsl,$(wildcard html.xsl))
|
|
HTML_XSL := html.xsl
|
|
XSL_DEPS := $(HTML_XSL) ../html.xsl ../html-common.xsl
|
|
else
|
|
HTML_XSL := ../html.xsl
|
|
XSL_DEPS := $(HTML_XSL) ../html-common.xsl
|
|
endif
|
|
|
|
# Fall back to the default HTML stylesheet if none is specified.
|
|
HTML_STYLESHEET ?= ../default.css
|
|
|
|
# This is the main target...
|
|
$(HTMLDIR)/index.html: documentation.xml $(XSL_DEPS)
|
|
-rm -f $(HTMLDIR)/*
|
|
../xmllint.sh $<
|
|
cp $(HTML_STYLESHEET) $(HTMLDIR)/
|
|
../xsltproc.sh $(HTMLDIR)/ $(HTML_XSL) $<
|
|
|
|
../html.xsl:
|
|
cd .. && sh configure
|