[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36
John Goerzen
jgoerzen at complete.org
Fri Apr 23 14:42:38 UTC 2010
The following commit has been merged in the master branch:
commit 84696b551c40b5ce79f05db63316c5d5647ec091
Author: John Goerzen <jgoerzen at complete.org>
Date: Tue Oct 5 23:52:15 2004 +0100
Fixed lhs, description files
Keywords:
(jgoerzen at complete.org--projects/missingh--head--1.0--patch-23)
diff --git a/Makefile b/Makefile
index cdd00c3..c5d0bc8 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,9 @@ OBJS := $(SOURCES:.hs=.o)
all: libmissingH.a
+setup: Setup.lhs Setup.description
+ ghc -package Cabal Setup.lhs -o setup
+
libmissingH.a: $(OBJS)
-rm -f libmissingH.a
ar q libmissingH.a $(OBJS)
@@ -34,5 +37,5 @@ doc:
clean:
-rm -rf html `find . -name "*.o"` `find . -name "*.hi"` \
- `find . -name "*~"` *.a
+ `find . -name "*~"` *.a setup
diff --git a/Setup.lhs b/Setup.lhs
index f2d98a8..9f3d8c1 100644
--- a/Setup.lhs
+++ b/Setup.lhs
@@ -1,3 +1,7 @@
#!/usr/bin/env runhugs
--- arch-tag: Main setup script
-> import Distribution.simple
\ No newline at end of file
+arch-tag: Main setup script
+
+> import Distribution.Simple
+
+> main = defaultMain
+
--
haskell-testpack
More information about the Pkg-haskell-commits
mailing list