From: Kevin Neufeld Date: Wed, 2 Dec 2009 23:23:07 +0000 (+0000) Subject: added target to resize certain images X-Git-Tag: 1.5.0b1~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94fed1fa24c746a8cc24fd4e00ff800f605d947d;p=postgis added target to resize certain images git-svn-id: http://svn.osgeo.org/postgis/trunk@4978 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/html/image_src/Makefile.in b/doc/html/image_src/Makefile.in index 38c8960c3..f532229b7 100644 --- a/doc/html/image_src/Makefile.in +++ b/doc/html/image_src/Makefile.in @@ -19,17 +19,6 @@ CUNIT_CPPFLAGS=@CUNIT_CPPFLAGS@ -I../../../liblwgeom IMAGES= \ ../images/de9im01.png \ ../images/de9im02.png \ - ../images/de9im03.png \ - ../images/de9im04.png \ - ../images/de9im05.png \ - ../images/de9im06.png \ - ../images/de9im07.png \ - ../images/de9im08.png \ - ../images/de9im09.png \ - ../images/de9im10.png \ - ../images/de9im11.png \ - ../images/de9im12.png \ - ../images/de9im13.png \ ../images/st_buffer01.png \ ../images/st_buffer02.png \ ../images/st_buffer03.png \ @@ -96,13 +85,27 @@ IMAGES= \ ../images/st_touches06.png \ ../images/st_within01.png +# Images that are created with dimensions 100x100 +IMAGES_RESIZED= \ + ../images/de9im03.png \ + ../images/de9im04.png \ + ../images/de9im05.png \ + ../images/de9im06.png \ + ../images/de9im07.png \ + ../images/de9im08.png \ + ../images/de9im09.png \ + ../images/de9im10.png \ + ../images/de9im11.png \ + ../images/de9im12.png \ + ../images/de9im13.png + OBJS=styles.o generator.o # Build the generator all: generator # generate the images -images: $(IMAGES) +images: $(IMAGES) $(IMAGES_RESIZED) # Command to build each of the .o files $(OBJS): %.o: %.c @@ -112,6 +115,11 @@ $(OBJS): %.o: %.c $(IMAGES): ../images/%.png: %.wkt generator styles.conf @./generator $< +# Command to resize each of the images +$(IMAGES_RESIZED): ../images/%.png: %.wkt generator styles.conf + @./generator $< + convert $@ -resize 100x100 $@ + # Build the main executable generator: ../../../liblwgeom/liblwgeom.a $(OBJS) $(CC) -o $@ $(OBJS) ../../../liblwgeom/liblwgeom.a -lm $(CUNIT_LDFLAGS)