summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2012-08-06 16:14:47 +0000
committerhallgren <hallgren@chalmers.se>2012-08-06 16:14:47 +0000
commit06c9e4999f8d6ab25ce4c533df45060806ca80ed (patch)
tree123888e9b1dc9010054f778a3ad856ea2c1f3fd1 /Makefile
parent3601b796e51bd4a26383ac972ce2ccf575171979 (diff)
Updated the GF Developers Guide
+ The instructions have been modernized and simplified slightly and should now work again. (I have not verified it on Windows.) Using 'cabal' instead of 'runghc Setup.hs' avoids some problems. + Also, download/index.html has simpler installation instructions sufficient for many users, so mention it in the main README file. + Also adjusted the main Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 9187f0c4c..61a59f036 100644
--- a/Makefile
+++ b/Makefile
@@ -1,29 +1,29 @@
-.PHONY: all build install doc clean sdist gf
+.PHONY: all build install doc clean gf # sdist
all: build
-dist/setup-config: gf.cabal
- chmod u+x lib/src/mkPresent
- chmod u+x lib/src/mkMinimal
- runghc Setup.hs configure
+dist/setup-config: gf.cabal Setup.hs
+ cabal configure
build: dist/setup-config
- runghc Setup.hs build
+ cabal build
install:
- runghc Setup.hs install
+ cabal copy
+ cabal register
doc:
- runghc Setup.hs haddock
+ cabal haddock
clean:
- runghc Setup.hs clean
+ cabal clean
+
+#sdist:
+# cabal sdist
-sdist:
- runghc Setup.hs sdist
gf:
- runghc Setup.hs build rgl-none
+ cabal build rgl-none
strip dist/build/gf/gf
html::
- bash bin/update_html \ No newline at end of file
+ bash bin/update_html