struct / union in initializer, RFE #901.
[sdcc.git] / sdcc-cf / packages / build.latex2html / Makefile
blobe193b2b8c6f81d17d03ecdff7edd63fa560080a0
1 include ../packages.mk
3 VERSION=$(shell expr download/latex2html-*.tar.gz : 'download/latex2html-\(.*\).tar.gz')
5 .PHONY: all
6 all: l2h-install.tag clean
8 l2h-download.tag:
9 wget -P download http://fresh.t-systems-sfr.com/unix/src/www/latex2html-2002-2-1.tar.gz
10 touch $@
12 l2h-unpack.tag: l2h-download.tag
13 tar xzvf download/latex2html-$(VERSION).tar.gz
14 touch $@
16 l2h-configure.tag: l2h-unpack.tag
17 cd latex2html-$(VERSION) && \
18 ./configure --prefix=$(LOCAL_DIR)
19 touch $@
21 l2h-make.tag: l2h-configure.tag
22 $(MAKE) -C latex2html-$(VERSION)
23 touch $@
25 l2h-install.tag: l2h-make.tag
26 $(MAKE) -C latex2html-$(VERSION) install
27 touch $@
29 clean:
30 rm -rf latex2html-$(VERSION) download/* *.tag