Makefile
changeset 0 b98bb7ed37e9
child 8 4b3d55acc9d7
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Wed Jun 25 21:53:38 2008 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +EPS_IMAGES18 =
     1.5 +
     1.6 +EPS_IMAGES = \
     1.7 +	$(EPS_IMAGES18)
     1.8 +
     1.9 +PNG_IMAGES = \
    1.10 +	$(EPS_IMAGES:%.eps=gen-images/%.png)
    1.11 +
    1.12 +GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
    1.13 +
    1.14 +all: html
    1.15 +
    1.16 +$(EPS_IMAGES18:%.eps=gen-images/%.png): gen-images/%.png: images/%.eps
    1.17 +	-mkdir gen-images
    1.18 +	$(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<
    1.19 +
    1.20 +html: $(PNG_IMAGES)
    1.21 +	doxygen Doxyfile
    1.22 +
    1.23 +clean:
    1.24 +	-rm -rf html
    1.25 +	-rm -f doxygen.log
    1.26 +	-rm -f $(PNG_IMAGES)
    1.27 +	-rm -rf gen-images
    1.28 +
    1.29 +update-external-tags:
    1.30 +	wget -O libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
    1.31 +	mv libstdc++.tag.tmp libstdc++.tag || \
    1.32 +	rm libstdc++.tag.tmp
    1.33 +	wget -O lemon.tag.tmp http://lemon.cs.elte.hu/pub/doc/latest/lemon.tag && \
    1.34 +	mv lemon.tag.tmp lemon.tag || \
    1.35 +	rm lemon.tag.tmp
    1.36 +
    1.37 +.PHONY: update-external-tags html