Makefile
author Alpar Juttner <alpar@cs.elte.hu>
Sat, 01 Nov 2008 08:15:59 +0000
changeset 14 35279d53a015
parent 8 4b3d55acc9d7
permissions -rw-r--r--
Better navigation trailer
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@10
    18
	-mkdir gen-dox
alpar@10
    19
	./titlegen.py
alpar@0
    20
	doxygen Doxyfile
alpar@0
    21
alpar@0
    22
clean:
alpar@0
    23
	-rm -rf html
alpar@0
    24
	-rm -f doxygen.log
alpar@0
    25
	-rm -f $(PNG_IMAGES)
alpar@0
    26
	-rm -rf gen-images
alpar@0
    27
alpar@0
    28
update-external-tags:
alpar@8
    29
	wget -O libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.3/libstdc++.tag && \
alpar@0
    30
	mv libstdc++.tag.tmp libstdc++.tag || \
alpar@0
    31
	rm libstdc++.tag.tmp
alpar@8
    32
	wget -O lemon.tag.tmp http://lemon.cs.elte.hu/pub/doc/1.0/lemon.tag && \
alpar@0
    33
	mv lemon.tag.tmp lemon.tag || \
alpar@0
    34
	rm lemon.tag.tmp
alpar@0
    35
alpar@0
    36
.PHONY: update-external-tags html