|
@@ -12,8 +12,8 @@ default: cmd
|
|
|
# Insert thumbnail previews
|
|
|
r.colors.tmp.html: $(HTMLSRC) thumbnails.py
|
|
|
$(call htmldesc,$<,$@)
|
|
|
- sed 's!^<DD><b>\([a-z0-9.]*\)</b>:!<DD><img width="80" height="12" src="Colortable_\1.png"><b>\1</b>:!' $@ > $@.tmp
|
|
|
- mv -f $@.tmp $@
|
|
|
+ sed 's!^<DD><b>\([a-z0-9.]*\)</b>:!<DD><img width="80" height="12" src="Colortable_\1.png"> <b>\1</b>:!' "$@" > "$@.tmp"
|
|
|
+ mv -f "$@.tmp" "$@"
|
|
|
$(MAKE) thumbnails
|
|
|
|
|
|
thumbnails: $(BIN)/r.mapcalc$(EXE)
|