forked from GitHub/gf-core
+ 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.
30 lines
337 B
Makefile
30 lines
337 B
Makefile
.PHONY: all build install doc clean gf # sdist
|
|
|
|
all: build
|
|
|
|
dist/setup-config: gf.cabal Setup.hs
|
|
cabal configure
|
|
|
|
build: dist/setup-config
|
|
cabal build
|
|
|
|
install:
|
|
cabal copy
|
|
cabal register
|
|
|
|
doc:
|
|
cabal haddock
|
|
|
|
clean:
|
|
cabal clean
|
|
|
|
#sdist:
|
|
# cabal sdist
|
|
|
|
gf:
|
|
cabal build rgl-none
|
|
strip dist/build/gf/gf
|
|
|
|
html::
|
|
bash bin/update_html
|