# $Id$ # Makefile for TeX Live documentation. Public domain. TEX = xelatex doc = texlive-zh-cn source = $(doc).tex pdf = $(doc).pdf all: $(pdf) env = TEXINPUTS=../texlive-common:../texlive-en:; export TEXINPUTS; $(pdf): $(source) tex-live-zh-cn.sty $(env) $(TEX) $< $(env) $(TEX) $< clean: rm -f *.aux *.log *.blg *.toc *.out *.lot tex4ht.ps *.4* rm -f *.xref* *.lg *.idv *.out *.otc *.tmp tmp.* rm -f $(doc).dvi $(doc).ps realclean: clean rm -f $(doc).pdf rm -f *.html *.htm $(doc).css *.gif *.jpg