hgbook
diff Makefile @ 633:74da9b315396
Cleanup thoroughly, and run fixsvg when generate png files
author | Dongsheng Song <dongsheng.song@gmail.com> |
---|---|
date | Fri Mar 13 15:55:43 2009 +0800 (2009-03-13) |
parents | bae6d1503482 |
children | 1c13ed2130a7 |
line diff
1.1 --- a/Makefile Thu Mar 12 17:11:59 2009 +0800 1.2 +++ b/Makefile Fri Mar 13 15:55:43 2009 +0800 1.3 @@ -53,7 +53,30 @@ 1.4 @echo " make clean # Remove the build files." 1.5 1.6 clean: 1.7 - @rm -fr build po/*.mo 1.8 + @rm -fr build po/*.mo hello en/hello en/html en/.validated-00book.xml \ 1.9 + stylesheets/system-xsl en/images/*-tmp.svg \ 1.10 + en/images/feature-branches.png \ 1.11 + en/images/filelog.png \ 1.12 + en/images/feature-branches.png \ 1.13 + en/images/filelog.png \ 1.14 + en/images/metadata.png \ 1.15 + en/images/mq-stack.png \ 1.16 + en/images/revlog.png \ 1.17 + en/images/snapshot.png \ 1.18 + en/images/tour-history.png \ 1.19 + en/images/tour-merge-conflict.png \ 1.20 + en/images/tour-merge-merge.png \ 1.21 + en/images/tour-merge-pull.png \ 1.22 + en/images/tour-merge-sep-repos.png \ 1.23 + en/images/undo-manual-merge.png \ 1.24 + en/images/undo-manual.png \ 1.25 + en/images/undo-non-tip.png \ 1.26 + en/images/undo-simple.png \ 1.27 + en/images/wdir-after-commit.png \ 1.28 + en/images/wdir-branch.png \ 1.29 + en/images/wdir-merge.png \ 1.30 + en/images/wdir-pre-branch.png \ 1.31 + en/images/wdir.png 1.32 1.33 all: 1.34 ifdef LINGUA 1.35 @@ -187,8 +210,9 @@ 1.36 (cd build/$(LINGUA)/source && ../../../tools/fop/fop.sh hgbook.fo ../pdf/hgbook.pdf) 1.37 endif 1.38 1.39 -en/images/%.png: en/images/%.svg 1.40 - inkscape -D -d 120 -e $@ $< 1.41 +en/images/%.png: en/images/%.svg en/fixsvg 1.42 + en/fixsvg $< 1.43 + inkscape -D -d 120 -e $@ $<-tmp.svg 1.44 1.45 en/images/%.svg: en/images/%.dot 1.46 dot -Tsvg -o $@ $<