Mercurial > hgbook
diff en/Makefile @ 694:e0a4ba81f888
Add throbber for comment submission
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Thu, 26 Mar 2009 22:07:30 -0700 |
parents | 0b45854f0b7b |
children | 7893b3824715 |
line wrap: on
line diff
--- a/en/Makefile Thu Mar 26 22:00:53 2009 -0700 +++ b/en/Makefile Thu Mar 26 22:07:30 2009 -0700 @@ -1,6 +1,6 @@ # This makefile requires GNU make. -image-sources := $(wildcard figs/*.dot figs/*.png figs/*.svg) +image-sources := $(wildcard figs/*.dot figs/*.gif figs/*.png figs/*.svg) xml-src-files := \ 00book.xml \ @@ -9,7 +9,7 @@ image-dot := $(filter %.dot,$(image-sources)) image-svg := $(filter %.svg,$(image-sources)) -image-png := $(filter %.png,$(image-sources)) +image-oth := $(filter %.gif %.png,$(image-sources)) obj-web := html obj-websup := $(obj-web)/support @@ -18,7 +18,7 @@ image-web := \ $(image-dot:%.dot=$(obj-web-read)/%.png) \ $(image-svg:%.svg=$(obj-web-read)/%.png) \ - $(image-png:%=$(obj-web-read)/%) + $(image-oth:%=$(obj-web-read)/%) example-sources-by-name := \ backout \ @@ -155,6 +155,9 @@ inkscape -D -e $@ $<-tmp.svg rm $<-tmp.svg +$(obj-web-read)/figs/%.gif: figs/%.gif + cp $< $@ + $(obj-web-read)/figs/%.png: figs/%.png cp $< $@