Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc-cf / packages / build.dos2unix / Makefile
blob7646d12e34a90fdb1ec500dd713f1f05100699e1
1 include ../packages.mk
3 PACKAGE=dos2unix
5 VERSION=5.3.1
7 AUTOMAKE_DIR=$(PACKAGE)-$(VERSION)
9 .PHONY: all
10 all: $(PACKAGE)-install.tag clean
12 download/$(PACKAGE)-$(VERSION).tar.gz:
13 wget -P download http://sourceforge.net/projects/$(PACKAGE)/files/$(PACKAGE)/$(VERSION)/$(PACKAGE)-$(VERSION).tar.gz
15 $(PACKAGE)-unpack.tag: download/$(PACKAGE)-$(VERSION).tar.gz
16 tar xzvf download/$(PACKAGE)-$(VERSION).tar.gz
17 touch $@
19 $(PACKAGE)-make.tag: $(PACKAGE)-unpack.tag
20 $(MAKE) -C $(AUTOMAKE_DIR)
21 touch $@
23 $(PACKAGE)-install.tag: $(PACKAGE)-make.tag
24 $(MAKE) -C $(AUTOMAKE_DIR) install prefix=$(LOCAL_DIR)
25 touch $@
27 clean:
28 rm -rf $(AUTOMAKE_DIR) download/* *.tag