1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
|
#*********************************************************************#
# #
# Active-DVI #
# #
# Projet Cristal, INRIA Rocquencourt #
# #
# Copyright 2003 Institut National de Recherche en Informatique et #
# en Automatique. All rights reserved. This file is distributed #
# under the terms of the GNU Lesser General Public License. #
# #
# Jun Furuse, Didier Rmy and Pierre Weis. #
# Contributions by Roberto Di Cosmo, Didier Le Botlan, #
# Xavier Leroy, and Alan Schmitt. #
# #
# Based on Mldvi by Alexandre Miquel. #
#*********************************************************************#
# $Id: Makefile.am,v 1.7 2011-08-02 11:36:28 remy Exp $
pngdir = $(datadir)/doc/$(PACKAGE)/pngs
nobase_png_DATA = $(STATICIMAGES) $(BUILTIMAGES)
STATICIMAGES = basics/adviwait.png \
basics/moderate.png \
basics/simple.png \
basics/cash/cash.png \
japanese/advi-j.png \
prosper/Join/behaviour_pi.png \
prosper/Join/join.png \
prosper/Join/join_title.png \
prosper/Join/pi.png \
prosper/LL/LL_def.png \
prosper/LL/LL_launch.png \
prosper/LL/LL_libre_vs_proprietaire.png \
prosper/LL/LL_title.png \
seminar/a14/a14_bezier.png \
seminar/a14/a14_fill.png \
seminar/a14/a14_title.png \
seminar/a14/bitmap.png \
seminar/clock/OCamlODBC.png \
seminar/clock/clock_title.png \
slitex/advi/advi.png \
slitex/advi/advi_end.png \
slitex/advi/interaction.png \
slitex/advi/interaction_source.png \
slitex/advi/test_colors.png \
slitex/caml/caml.png \
slitex/caml/caml_future.png \
slitex/caml/caml_strength.png \
slitex/caml/code_evolutivity.png \
slitex/simplistic/simplistic.png \
slitex/simplistic/simplistic_1.png \
slitex/simplistic/simplistic_plan.png \
slitex/simplistic/simplistic_source.png \
slitex/simplistic/simplistic_title.png \
slitex/skin_detection/skin_detection.png \
slitex/skin_detection/skin_detection_title.png \
slitex/skin_detection/skin_illumination.png \
slitex/skin_detection/skin_variation.png \
test/alpha_channel.png \
test/annotations.png \
test/caml_whale.png \
test/camltk_embedding.png \
test/demo2.png \
test/mldvi.png \
test/test_colors.png \
test/text_movements.png \
test/yellow_background.png
BUILTIMAGES = f.png $(STATICIMAGES:.png=.small.png)
CLEANFILES = $(STATICIMAGES:.png=.tiny.png)
MAINTAINERCLEANFILES = f.png bigf.png $(STATICIMAGES:.png=.small.png)
EXTRA_DIST = $(nobase_png_DATA)
SMALL_HEIGHT = 170
SMALL_WIDTH = 230
TINY_HEIGHT = 85
TINY_WIDTH = 115
FRISE_HEIGHT = 85
FRISE_WIDTH = 1600
f.png: bigf.png
if HAVE_CONVERT
$(CONVERT) -geometry 800x150! bigf.png f.png
else
@echo "convert required, unable to proceed"
@exit 1
endif
bigf.png: $(STATICIMAGES:.png=.tiny.png)
$(MONTAGE) -tile x3 \
-mode Concatenate -background white -adjoin \
`find . -regex '.*/.*\.tiny\.png'` \
bigf.png
SUFFIXES = .png .small.png .tiny.png
# the directory check is needed for VPATH build
.png.small.png:
if HAVE_CONVERT
dir=`dirname $@`; \
if [ ! -d $$dir ]; then \
mkdir -p $$dir; \
fi
$(CONVERT) -geometry $(SMALL_WIDTH)x$(SMALL_HEIGHT) $< $@
else
@echo "convert required, unable to proceed"
@exit 1
endif
# the directory check is needed for VPATH build
.png.tiny.png:
if HAVE_CONVERT
dir=`dirname $@`; \
if [ ! -d $$dir ]; then \
mkdir -p $$dir; \
fi
$(CONVERT) -geometry $(TINY_WIDTH)x$(TINY_HEIGHT) $< $@
else
@echo "convert required, unable to proceed"
@exit 1
endif
|