Skip to content

Commit

Permalink
* Add ncurses/libperl dep notes (ingy++) and fix "make" to simply use…
Browse files Browse the repository at this point in the history
… cabal.
  • Loading branch information
audreyt committed Oct 7, 2011
1 parent 9c89543 commit 4d3adf2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion INSTALL
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The current recommended way to build Pugs is via cabal-install with the
Haskell Platform. The steps are:

1. Download and install the Haskell Platform:
0. Download and install the Haskell Platform:

http://hackage.haskell.org/platform/

Expand All @@ -18,6 +18,12 @@ setup instructions, which should work for all the packages above.

(But then again, please consider simply installing the Haskell Platform. :-))


1. Install ncurses and libperl dependencies:

# For Debian/Ubuntu
sudo apt-get install libncurses-dev libperl-dev

2. Type the following commands:

cabal update
Expand Down
6 changes: 3 additions & 3 deletions Pugs/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pugs ::
ghc ./dist/build/pugs/pugs-tmp/cbits/*o -package mtl-1.1.1.1 -idist/build/autogen -isrc --make src/Main.hs
mv src/Main pugs
cabal build
cp dist/build/pugs/pugs pugs

ghci ::
ghci ./dist/build/pugs/pugs-tmp/cbits/*o -package mtl-1.1.1.1 -idist/build/autogen -isrc src/Main.hs
ghci ./dist/build/pugs/pugs-tmp/cbits/*o -idist/build/autogen -isrc src/Main.hs

0 comments on commit 4d3adf2

Please sign in to comment.