[clean up documentation, improve rpm building script.
John Meacham <john@repetae.net>**20100709213244
 Ignore-this: fa432f9d8049bb20b4d59b1abeb7d20e
] move ./utils/mockbuild.sh ./utils/mockbuild.prl
hunk ./Makefile.am 6
-
hunk ./Makefile.am 8
-#SUFFIXES= .hs .lhs .o .hi .hsc .c .h .ly .hi-boot .hs-boot .o-boot
-#SUFFIXES=
-
hunk ./Makefile.am 202
-update-datestamp: ChangeLog
-	sh utils/update_datestamp.sh $< configure.ac
-
hunk ./Makefile.am 210
-.PHONY: ho-clean hl-clean built-sources i update-datestamp manual man
+.PHONY: ho-clean hl-clean built-sources i manual man
hunk ./docs/building.mkd.in 23
- * GHC 6.10.4 or better
+ * GHC 6.12.1 or better
hunk ./docs/development.mkd 13
-If you simply wish to use jhc, it is easier to build from the distribution
+If you simply wish to use jhc, it is much easier to build from the distribution
hunk ./docs/development.mkd 20
-    * GHC 6.8.2 or better
+    * GHC 6.12.1 or better
hunk ./docs/development.mkd 24
-    * a working 'perl' install for various sundry tasks
+    * a working perl install for various sundry tasks
hunk ./docs/development.mkd 26
-    * for ghc 6.8 you need the binary, zlib, and utf8-string libraries installed. ghc 6.10 may require more depending on how it is installed.
+    * You need the following haskell libraries
+      * binary
+      * zlib
+      * utf8-string
+      * bytestring
+      * containers
+      * one of editline or readline
+      * mtl
hunk ./utils/mockbuild.prl 1
-mock rebuild -r fedora-11-i386 /home/john/var/rpm/SRPMS/jhc-0.7.2-1.src.rpm --no-clean --no-cleanup-after
+#!/usr/bin/perl
+
+my $tb = $ARGV[0];
+
+$tb =~ /\.tar\.gz$/ or die "not tarball: $tb";
+
+my $tts = `rpmbuild -ts $tb`;
+$tts =~ /\s+(\S*\.src\.rpm)/ or die "$tts";
+$tts = $1;
+
+print "$tb $tts\n";
+
+my @args =  (qw/sudo mock rebuild -r fedora-12-i386/,  "$tts", qw/--no-clean --no-cleanup-after/);
+
+print join ' ',@args;
+print "\n";
+
+system @args;