Chapter 4. Using the Perl Build Script

Table of Contents

4.1. Synopsis
4.2. Option Types
4.3. Single Letter Sequences
4.3.1. Upper Case Sequences
4.4. Option Reference
4.4.1. cpp, -c
4.4.2. haskell, -h
4.4.3. qmake, -q
4.4.4. cpp-make, -m, (-M)
4.4.5. configure, -f
4.4.6. build, -b, (-B)
4.4.7. install, -i
4.4.8. cpp-install, -y
4.4.9. haskell-install, -z
4.4.10. samples, -s, (-S)
4.4.11. examples, -e, (-E)
4.4.12. demos, -d, (-D)
4.4.13. extra-pkgs, -x
4.4.14. extra-pkgs-configure, -r
4.4.15. extra-pkgs-build, -u, (-U)
4.4.16. extra-pkgs-install, -w
4.4.17. extra-pkgs-samples, -p, (-P)
4.4.18. extra-pkgs-examples, -o, (-O)
4.4.19. extra-pkgs-demos, -l, (-L)
4.4.20. cpp-clean
4.4.21. haskell-clean
4.4.22. samples-clean
4.4.23. examples-clean
4.4.24. demos-clean
4.4.25. extra-pkgs-clean
4.4.26. extra-pkgs-build-clean
4.4.27. extra-pkgs-samples-clean
4.4.28. extra-pkgs-examples-clean
4.4.29. extra-pkgs-demos-clean
4.4.30. jobs
4.4.31. ccp-jobs
4.4.32. haskell-jobs
4.4.33. verbosity
4.4.34. ccp-verbosity
4.4.35. haskell-verbosity
4.4.36. sudo
4.4.37. cpp-sudo
4.4.38. haskell-sudo
4.4.39. ldconfig
4.4.40. user
4.4.41. shared
4.4.42. ld
4.4.43. extra-ld-opt
4.5. Examples of Build Script Usage
4.5.1. Haskell Half Only
4.5.2. Rebuild Examples and Demos Only
4.5.3. Build qtHaskell Without sudo

The qtHaskell distribution now includes a cross-platform build script build.pl written in Perl. This allows the installer or installation manager to selectively control the building and rebuilding of each part of the qtHaskell installation using command line options.

N.B. on Windows it is recommended that the build script be called from the build.bat file to ensure the required environment variables are correctly set before the build process starts.

4.1. Synopsis

build-command [options]

where build-command can be build on Windows, ./build, ./build.pl on linux, or perl build.pl on all systems.