Skip to content

Commit

Permalink
Added a sdist target and removed extension from Setup filenames.
Browse files Browse the repository at this point in the history
darcs-hash:20081208072654-72ac0-fe1bce72446488b768d98f2fad6b368a2337dea2.gz
  • Loading branch information
eukaryote committed Dec 8, 2008
1 parent 3edcf8f commit cf44d6a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Makefile
Expand Up @@ -2,23 +2,25 @@
all: build

clean:
runhaskell Setup.hs clean
runhaskell Setup clean

configure: Setup.hs rdf4h.cabal *.hs
runhaskell Setup.hs configure --user --prefix=${HOME} \
runhaskell Setup configure --user --prefix=${HOME} \
--docdir=dist/doc \
--haddock-options="-v \
--source-module=http://protempore.net/rdf4h/doc/src/%{MODULE/./-}.html"

build: configure
runhaskell Setup.hs build
runhaskell Setup build

haddock: configure build
runhaskell Setup.hs haddock --hyperlink-source
runhaskell Setup haddock --hyperlink-source

install: configure build
runhaskell Setup.hs install
runhaskell Setup install

sdist :: configure build
runhaskell Setup sdist
# The test function compiles, so no need to depend on configure or compile.
test:
runhaskell Setup.hs test
runhaskell Setup test

0 comments on commit cf44d6a

Please sign in to comment.