diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -107,7 +107,7 @@
 
 .INTERMEDIATE:	$(UNLIT_MODULES) PlayTmp.hs
 
-.PHONY:	all clean cabal-configure cabal-build compile ghc-all ghci hugs playmidi \
+.PHONY:	all clean distclean cabal-configure cabal-build compile ghc-all ghci hugs playmidi \
 	pdf autotrack-ps doc \
 	test test-compile test-hugs testcases debug \
 	fluid
@@ -115,9 +115,14 @@
 all:	compile
 
 clean:
-	-(cd build && rm `find . -name "*.hi"` `find . -name "*.o"`)
-	-rm $(UNLIT_MODULES)
+	-(cd build && rm -f `find . -name "*.hi"` `find . -name "*.o"`)
+	-rm -f $(UNLIT_MODULES)
+	-rm -f src/Doc/Pics/*.pdf
+	-rm -f Tutorial.*
 
+distclean:	clean
+	-rm -f dist/doc/Tutorial.pdf
+
 test:   test-compile testcases pdf autotrack-ps cabal-haddock
 
 compile:	hugs ghc-all autotrack
@@ -184,8 +189,10 @@
 # src/Doc needed for Tutorial.bbl
 	TEXINPUTS=src:src/Doc:$(TEXINPUTS) pdflatex $<
 	mkindex Tutorial
-	thumbpdf Tutorial
-	-ln -s ../Tutorial.pdf docs/Tutorial.pdf
+	TEXINPUTS=src:src/Doc:$(TEXINPUTS) pdflatex $<
+# the directory should coincide with the one created by Cabal
+	mkdir -p dist/doc
+	cp Tutorial.pdf dist/doc/Tutorial.pdf
 
 %.pdf:	%.eps
 	epstopdf $<
diff --git a/haskore.cabal b/haskore.cabal
--- a/haskore.cabal
+++ b/haskore.cabal
@@ -1,5 +1,5 @@
 Name:           haskore
-Version:        0.1.0.3
+Version:        0.1.0.4
 License:        GPL
 License-File:   LICENSE
 Author:         Paul Hudak <paul.hudak@yale.edu>, Henning Thielemann
@@ -11,7 +11,7 @@
 Description:
   Compose music using programming features.
   Output in MIDI, CSound, SuperCollider or as an audio signal.
-Tested-With:       GHC==6.4.1, GHC==6.8.2, GHC==6.10.4, Hugs==2006.9
+Tested-With:       GHC==6.8.2, GHC==6.10.4, GHC==6.12.1, Hugs==2006.9
 Cabal-Version:     >=1.6
 Build-Type:        Simple
 
@@ -55,7 +55,7 @@
     non-negative >=0.0.1 && <0.1,
     data-accessor >=0.2 && <0.3,
     utility-ht >=0.0.3 && <0.1,
-    transformers >=0.0.1 && <0.2,
+    transformers >=0.0.1 && <0.3,
     bytestring >=0.9 && <0.10,
     haskell-src >=1.0 && <1.1,
     parsec >=2.1 && <2.2
diff --git a/src/Haskore/Example/NewResolutions.lhs b/src/Haskore/Example/NewResolutions.lhs
--- a/src/Haskore/Example/NewResolutions.lhs
+++ b/src/Haskore/Example/NewResolutions.lhs
@@ -1,8 +1,7 @@
-GHC-6.4.1 runs out of memory with optimization.
-Unfortunately we cannot override Cabal's option here,
-so you have to configure with --disable-optimization
-
-> {-# OPTIONS_GHC -Onot #-}
+% GHC-6.4.1 runs out of memory with optimization.
+% Unfortunately we cannot override Cabal's option here,
+% so you have to configure with --disable-optimization
+% {-# OPTIONS_GHC -Onot #-}
 
 New Resolutions by Jean-Luc Ponty, Scott O'Neil, and John Garvin
 
