Makefile
author Alpar Juttner <alpar@cs.elte.hu>
Sat, 12 Jul 2008 22:38:15 +0100
changeset 1 264baaa990e1
child 8 4b3d55acc9d7
permissions -rw-r--r--
Fix .hgignore (ignore gen-images folder properly)
alpar@0
     1
EPS_IMAGES18 =
alpar@0
     2
alpar@0
     3
EPS_IMAGES = \
alpar@0
     4
	$(EPS_IMAGES18)
alpar@0
     5
alpar@0
     6
PNG_IMAGES = \
alpar@0
     7
	$(EPS_IMAGES:%.eps=gen-images/%.png)
alpar@0
     8
alpar@0
     9
GS_COMMAND=gs -dNOPAUSE -dBATCH -q -dEPSCrop -dTextAlphaBits=4 -dGraphicsAlphaBits=4
alpar@0
    10
alpar@0
    11
all: html
alpar@0
    12
alpar@0
    13
$(EPS_IMAGES18:%.eps=gen-images/%.png): gen-images/%.png: images/%.eps
alpar@0
    14
	-mkdir gen-images
alpar@0
    15
	$(GS_COMMAND) -sDEVICE=pngalpha -r18 -sOutputFile=$@ $<
alpar@0
    16
alpar@0
    17
html: $(PNG_IMAGES)
alpar@0
    18
	doxygen Doxyfile
alpar@0
    19
alpar@0
    20
clean:
alpar@0
    21
	-rm -rf html
alpar@0
    22
	-rm -f doxygen.log
alpar@0
    23
	-rm -f $(PNG_IMAGES)
alpar@0
    24
	-rm -rf gen-images
alpar@0
    25
alpar@0
    26
update-external-tags:
alpar@0
    27
	wget -O libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag && \
alpar@0
    28
	mv libstdc++.tag.tmp libstdc++.tag || \
alpar@0
    29
	rm libstdc++.tag.tmp
alpar@0
    30
	wget -O lemon.tag.tmp http://lemon.cs.elte.hu/pub/doc/latest/lemon.tag && \
alpar@0
    31
	mv lemon.tag.tmp lemon.tag || \
alpar@0
    32
	rm lemon.tag.tmp
alpar@0
    33
alpar@0
    34
.PHONY: update-external-tags html