Remove another unused definition
[packages/base.git] / codepages / Makefile
1
2 .PHONY: default
3 default:
4 $(MAKE) getCodepages
5 $(MAKE) genTable
6
7 .PHONY: getCodepages
8 getCodepages:
9 rm -rf www.unicode.org
10 rm -rf CPs
11 mkdir CPs
12 wget -r -np http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/
13 find www.unicode.org -name 'CP*' -exec cp {} CPs \;
14
15 .PHONY: genTable
16 genTable:
17 ghc --make MakeTable
18 ./MakeTable GHC.IO.Encoding.CodePage.Table ../GHC/IO/Encoding/CodePage/Table.hs CPs/*
19