git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3319 67ed7778-7388-44ab-90cf-0a291f65f57c
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $Id$
|
|
|
|
CLEANFILES = *.pdf *.eps *.ps *.png *.jpg
|
|
|
|
EXTRA_DIST = architecture.fig libgphoto2-api.fig libgphoto2-camlib.fig libgphoto2_port.fig gphotofs.fig
|
|
|
|
figuredir = @HTML_DIR@/figures
|
|
|
|
if ENABLE_FIGURES
|
|
|
|
#all-local: \
|
|
# architecture.jpg libgphoto2-api.jpg libgphoto2-camlib.jpg libgphoto2_port.jpg gphotofs.jpg \
|
|
# architecture.png libgphoto2-api.png libgphoto2-camlib.png libgphoto2_port.png gphotofs.png \
|
|
# architecture.pdf libgphoto2-api.pdf libgphoto2-camlib.pdf libgphoto2_port.pdf gphotofs.pdf \
|
|
# architecture.ps libgphoto2-api.ps libgphoto2-camlib.ps libgphoto2_port.ps gphotofs.ps \
|
|
# architecture.eps libgphoto2-api.eps libgphoto2-camlib.eps libgphoto2_port.eps gphotofs.eps
|
|
|
|
figure_DATA = architecture.png libgphoto2-api.png libgphoto2-camlib.png libgphoto2_port.png gphotofs.png \
|
|
architecture.jpg libgphoto2-api.jpg libgphoto2-camlib.jpg libgphoto2_port.jpg gphotofs.jpg
|
|
|
|
%.eps: %.fig
|
|
fig2dev -L eps $< $@
|
|
|
|
%.ps: %.fig
|
|
fig2dev -L ps -z A4 -c $< $@
|
|
|
|
%.pdf: %.fig
|
|
fig2dev -L pdf -z A4 -p dummy -c $< $@
|
|
|
|
%.png: %.fig
|
|
fig2dev -L png -m 1.5 $< $@
|
|
|
|
%.jpg: %.fig
|
|
fig2dev -L jpeg -m 1.5 $< $@
|
|
|
|
%.pdf: %.ps
|
|
|
|
else
|
|
|
|
all-local:
|
|
@echo "Dummy target $@"
|
|
|
|
endif
|