Makefile
author Alpar Juttner <alpar@cs.elte.hu>
Thu, 30 Oct 2008 17:13:33 +0000
changeset 10 55e2f7712e87
parent 8 4b3d55acc9d7
permissions -rw-r--r--
TOC and section numbering are generated from toc.txt
     1 EPS_IMAGES18 =
     2 
     3 EPS_IMAGES = \
     4 	$(EPS_IMAGES18)
     5 
     6 PNG_IMAGES = \
     7 	$(EPS_IMAGES:%.eps=gen-images/%.png)
     8 
     9 GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
    10 
    11 all: html
    12 
    13 $(EPS_IMAGES18:%.eps=gen-images/%.png): gen-images/%.png: images/%.eps
    14 	-mkdir gen-images
    15 	$(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<
    16 
    17 html: $(PNG_IMAGES)
    18 	-mkdir gen-dox
    19 	./titlegen.py
    20 	doxygen Doxyfile
    21 
    22 clean:
    23 	-rm -rf html
    24 	-rm -f doxygen.log
    25 	-rm -f $(PNG_IMAGES)
    26 	-rm -rf gen-images
    27 
    28 update-external-tags:
    29 	wget -O libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.3/libstdc++.tag && \
    30 	mv libstdc++.tag.tmp libstdc++.tag || \
    31 	rm libstdc++.tag.tmp
    32 	wget -O lemon.tag.tmp http://lemon.cs.elte.hu/pub/doc/1.0/lemon.tag && \
    33 	mv lemon.tag.tmp lemon.tag || \
    34 	rm lemon.tag.tmp
    35 
    36 .PHONY: update-external-tags html