[CentOS] Slow performance

Mon Apr 30 22:04:31 UTC 2007
Ashley M. Kirchner <ashley at pcraft.com>

Scott Lamb wrote:
> $ cat > GNUmakefile <<EOF
> SOURCES = $(wildcard *.jpg)
> THUMBNAILS = $(SOURCES:%.jpg=%.th.jpg)
>
> .PHONY: thumbnails
> thumbnails: $(THUMBNAILS)
>
> %.th.jpg: %.jpg
>     convert $< -thumbnail 200x200 > $@ || (rm $@; false)
>
> .PHONY: clean
> clean:
>     rm -f *.th.jpg
> EOF
>
> (note that those indentations have to be tabs, not spaces)
    Um, what shell are you working in?  I can't hit TAB on mine because 
that wants to put a file name in place - it's bash' autocompletion tab...

-- 
W | It's not a bug - it's an undocumented feature.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  IT Director / SysAdmin / Websmith             .     800.441.3873 x130
  Photo Craft Imaging                       .     3550 Arapahoe Ave. #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.