Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Commit

Permalink
Add comments to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
spl committed Apr 4, 2010
1 parent 8330fde commit 14666a0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Makefile
@@ -1,3 +1,33 @@
# /opt/ghc/Makefile: convenient for building binary GHC distributions
# AUTHOR: Sean Leather
# LICENSE: public domain

################################################################################
# To use this Makefile, I do the following:
#
# 1. Create a directory for version $V of the GHC distribution.
#
# $ pwd
# /opt/ghc
# $ mkdir -p $V/src
#
# 2. Create a symbolic link to this Makefile
#
# $ cd $V
# $ ln -s ../Makefile
#
# 3. Download and unpack the desired GHC distribution
#
# $ cd src
# $ wget http://www.haskell.org/ghc/dist/$V/ghc-$V-i386-unknown-linux-n.tar.bz2
# $ tar jxf ghc-$V-i386-unknown-linux-n.tar.bz2
#
# 4. Install (or clean)
#
# $ cd ..
# $ make install
#

VERSION := ${shell basename `pwd`}
PREFIX := ${shell pwd}
SRCDIR := ./src/ghc-${VERSION}
Expand Down

0 comments on commit 14666a0

Please sign in to comment.