Makefile
author Alpar Juttner <alpar@cs.elte.hu>
Fri, 24 Oct 2008 13:34:04 +0100
changeset 8 4b3d55acc9d7
parent 0 b98bb7ed37e9
child 10 55e2f7712e87
permissions -rw-r--r--
Use fix library version for the external tags instead of the latest version

Currently it is:
- libstdc++ v4.3
- LEMON v1.0
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@8
    27
	wget -O libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.3/libstdc++.tag && \
alpar@0
    28
	mv libstdc++.tag.tmp libstdc++.tag || \
alpar@0
    29
	rm libstdc++.tag.tmp
alpar@8
    30
	wget -O lemon.tag.tmp http://lemon.cs.elte.hu/pub/doc/1.0/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