2007-08-29 18:23:50 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PDF = vipsmanual.pdf
|
|
|
|
SRC = \
|
|
|
|
applintro.tex \
|
|
|
|
cppintro.tex \
|
|
|
|
fileformat.tex \
|
|
|
|
func.tex \
|
2008-10-11 23:29:16 +02:00
|
|
|
format.tex \
|
2007-08-29 18:23:50 +02:00
|
|
|
iosys.tex \
|
|
|
|
ipio.tex \
|
|
|
|
mydefs.tex \
|
|
|
|
operintro.tex \
|
|
|
|
packages.tex \
|
|
|
|
pio.tex \
|
|
|
|
refintro.tex \
|
|
|
|
vdisplay.tex \
|
|
|
|
verror.tex \
|
|
|
|
vimage.tex \
|
|
|
|
vipsmanual.tex \
|
|
|
|
vmask.tex \
|
|
|
|
wio.tex
|
|
|
|
|
|
|
|
destdir = ../
|
|
|
|
|
|
|
|
all: $(PDF) html
|
|
|
|
|
|
|
|
install: all $(PDF) html
|
|
|
|
-rm -rf ${destdir}/pdf/*.pdf
|
2009-11-10 14:54:15 +01:00
|
|
|
-rm -rf ${destdir}/html/vips*
|
|
|
|
-rm -rf ${destdir}/html/figs
|
2013-06-11 11:23:26 +02:00
|
|
|
-mkdir -p ${destdir}/pdf
|
|
|
|
-mkdir -p ${destdir}/html
|
2007-08-29 18:23:50 +02:00
|
|
|
-cp $(PDF) ${destdir}/pdf
|
2009-11-10 14:54:15 +01:00
|
|
|
-cp -r vipsmanual/* ${destdir}/html
|
2007-08-29 18:23:50 +02:00
|
|
|
|
|
|
|
$(PDF): $(SRC)
|
|
|
|
pdflatex vipsmanual.tex
|
|
|
|
pdflatex vipsmanual.tex
|
|
|
|
|
2012-10-21 20:18:49 +02:00
|
|
|
.PHONY: html
|
2007-08-29 18:23:50 +02:00
|
|
|
html:
|
|
|
|
-rm -rf vipsmanual
|
|
|
|
mkdir vipsmanual
|
|
|
|
htlatex vipsmanual.tex html.cfg,3 "" -dvipsmanual/
|
|
|
|
cp -r figs vipsmanual
|
2008-10-11 23:29:16 +02:00
|
|
|
-rm vipsmanual/figs/*.svg
|
|
|
|
-rm vipsmanual/*.png
|
2007-08-29 18:23:50 +02:00
|
|
|
|
2012-10-21 20:18:49 +02:00
|
|
|
.PHONY: clean
|
2007-08-29 18:23:50 +02:00
|
|
|
clean:
|
|
|
|
-rm -f *.4ct
|
|
|
|
-rm -f *.4tc
|
|
|
|
-rm -f *.log
|
|
|
|
-rm -f *.xref
|
|
|
|
-rm -f *.tmp
|
|
|
|
-rm -f *.html
|
|
|
|
-rm -f *.css
|
|
|
|
-rm -f *.lg
|
|
|
|
-rm -f *.idv
|
|
|
|
-rm -f *.aux
|
|
|
|
-rm -f *.dvi
|
|
|
|
-rm -f *.lof
|
|
|
|
-rm -f *.lot
|
|
|
|
-rm -f *.toc
|
|
|
|
-rm -f *.pdf
|
|
|
|
-rm -rf vipsmanual
|