summaryrefslogtreecommitdiff
path: root/README.txt
blob: 2f2616f8500b4461d18f7f3f5f3c442b0e4b7093 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
TO BUILD AND INSTALL THE LIBRARY
================================

ghc-pkg unregister WURFL-0.x if you already installed an older version.
ghc-pkg list to check which version is already installed.

runghc Setup.hs configure
runghc Setup.hs build
runghc Setup.hs haddock to generate again the HTML pages (optional - only if you have haddock installed)
runghc Setup.hs install (you may have to use sudo)
runghc Setup.hs clean (warning : will clean the HTML pages)

TO PARSE THE wurlf.xml FILE
============================
cd Test
make clean
make

it will overwrite the file WurflVar.h and you will have to rebuild the WURLF module to take into account the new 
version of the wurlf xml file.


The conversion tool is using HXT (was tested with version 7.1). So you need to install HXT first if you don't have it already.