view DOCS/xml/Makefile @ 22772:d2469c37ee29

r22547: fix up some longer than 80 char lines , and use suggestion from Diego. r22570: dont start newline with a space and readd subdirectory r22718: add new audio and video codecs to libavcodec list r22748: add png and gif encoders, how to use them with mencoder is another question r22749: split sonic into sonic/sonicls and wma into wmav1/wmav2 r22750: add rest of lavc encoders to list (vcr1, cljr, jpegls, ffvhuff, msmpeg4v1) r22751: gsm requires libgsm so remove it r22752: aiff isnt there as well, TEST FIRST, THEN DOCUMENT COMPN! r22753: ok so cljr , vcr1 and msmpegv1 dont actually work... removed r22679: Some more details for the mga_vid section taken from drivers/README. r22686: tdfx_vid compilation has been simplified. r22695: Add a link to Attila's mga_vid port to Linux 2.6.x. r22704: 'make install' now takes care of most manual installation steps for *_vid.o.
author voroshil
date Sat, 24 Mar 2007 03:28:32 +0000
parents 7336cfb3b88f
children 2f3c7788aac4
line wrap: on
line source

# Makefile for generating the HTML documentation

# List of subdirectories to be processed.
SUBDIRS = en es fr hu pl cs de ru zh_CN

# Generated chunked HTML files go here.
HTML_CHUNKED = ../HTML

# Generated single HTML files go here.
HTML_SINGLE = ../HTML-single

all: html-chunked html-single

help:
	@echo "Targets:"
	@echo "********"
	@echo "all               : Build everything (default)."
	@echo "html-single       : Build HTML documentation (single file)."
	@echo "html-single-LANG  : As above, but only one language."
	@echo "html-chunked      : Build HTML documentation (multiple files)."
	@echo "html-chunked-LANG : As above, but only one language."
	@echo "xmllint           : Check syntax of all xml files."
	@echo "xmllint-LANG      : Check syntax of LANG xml files."
	@echo "clean-html-single : Purge the 'HTML-single' directory."
	@echo "clean-html-chunked: Purge the 'HTML' directory."
	@echo "clean             : Purge the 'HTML' and 'HTML-single' directories."
	@echo "releaseclean      : Remove generated files but keep the HTML."
	@echo "distclean         : Remove ALL generated files."
	@echo "clean-LANG        : Remove HTML files for one language."
	@echo "releaseclean-LANG : Remove generated files for one language."
	@echo "distclean-LANG    : Remove ALL generated files for one language."
	@echo "Substitute LANG for one of $(SUBDIRS)"

html-chunked: xsltproc.sh xmllint.sh chunked-dir $(addprefix html-chunked-,$(SUBDIRS))
chunked-dir:
	-mkdir -p $(HTML_CHUNKED)

html-single: xsltproc.sh xmllint.sh single-dir $(addprefix html-single-,$(SUBDIRS))
single-dir:
	-mkdir -p $(HTML_SINGLE)

xmllint: xmllint.sh $(addprefix xmllint-,$(SUBDIRS))

clean-html-chunked:
	-rm -rf $(HTML_CHUNKED)

clean-html-single:
	-rm -rf $(HTML_SINGLE)

releaseclean: $(addprefix releaseclean-,$(SUBDIRS))
	-rm -f html-chunk.xsl html-single.xsl xsltproc.sh xmllint.sh

distclean: clean releaseclean

xsltproc.sh xmllint.sh:
	sh configure

clean: clean-html-chunked clean-html-single

define lang-def
html-chunked-$(1): xsltproc.sh xmllint.sh chunked-dir
	-(mkdir -p $(HTML_CHUNKED)/$(1))
	$(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) html-chunked

html-single-$(1): xsltproc.sh xmllint.sh single-dir
	-(mkdir -p $(HTML_SINGLE)/$(1))
	$(MAKE) HTMLFILE=../$(HTML_SINGLE)/$(1)/MPlayer.html -C $(1) html-single

xmllint-$(1): xmllint.sh
	$(MAKE) HTMLFILE=../$(HTML_SINGLE)/$(1)/MPlayer.html -C $(1) xmllint

distclean-$(1): clean-$(1) releaseclean-$(1)

clean-$(1):
	-rm -rf $(HTML_SINGLE)/$(1) $(HTML_CHUNKED)/$(1)

releaseclean-$(1):
	$(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) distclean
endef

$(foreach lang, $(SUBDIRS),$(eval $(call lang-def,$(lang))))

.PHONY: all help html-chunked* chunked-dir html-single* single-dir xmllint*
.PHONY: clean-html-chunked clean-html-single releaseclean* distclean* clean*