[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:20 UTC 2010


The following commit has been merged in the master branch:
commit 5cd8c75ac2cc8461c7b8caae7d07fad84020261b
Author: John Goerzen <jgoerzen at complete.org>
Date:   Tue Oct 5 08:35:22 2004 +0100

    Added makefile and doc generator
    
    
    
    (jgoerzen at complete.org--projects/missingh--head--1.0--patch-4)

diff --git a/Makefile b/Makefile
index c56ecd6..2f68da1 100644
--- a/Makefile
+++ b/Makefile
@@ -27,4 +27,12 @@ libmissingH.a: $(OBJS)
 %.o: %.hs
 	ghc -c -o $@ $<
 
+doc:
+	-rm -f html
+	mkdir html
+	haddock -h -o html $(SOURCES)
+
+clean:
+	-rm -rf html `find . -name "*.o"` `find . -name "*.hi"` \
+		`find . -name "*~"` *.a
 
diff --git a/MissingH/Strutil.hs b/MissingH/Strutil.hs
index 807e7d9..8335c90 100644
--- a/MissingH/Strutil.hs
+++ b/MissingH/Strutil.hs
@@ -51,5 +51,5 @@ lstrip s = case s of
                             else s
 
 -- | Same as strip, but applies only to the right side of the string.
-rstrip s = reverse . lstrip . reverse
+rstrip = reverse . lstrip . reverse
 

-- 
haskell-testpack



More information about the Pkg-haskell-commits mailing list