From 46d349ec527b05687303b49724d97a6e56e12423 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 24 Aug 2012 11:18:16 -0400 Subject: [PATCH] Remove the 'src_html' makefile target and replace it with 'dist'. Add a few fields to the cabal file. Shorten the synopsis. --- makefile | 7 ++++--- spline3.cabal | 13 +++++++++++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/makefile b/makefile index 3678190..850626f 100644 --- a/makefile +++ b/makefile @@ -2,7 +2,7 @@ BIN = dist/build/spline3/spline3 DOCTESTS_BIN = dist/build/doctests/doctests TESTSUITE_BIN = dist/build/testsuite/testsuite -.PHONY : test publish_doc doc src_html hlint +.PHONY : test publish_doc doc dist hlint $(BIN): src/*.hs runghc Setup.hs clean @@ -36,8 +36,9 @@ clean: test: $(BIN) $(DOCTESTS_BIN) $(TESTSUITE_BIN) runghc Setup.hs test -src_html: - util/hscolour_srcs +dist: + runghc Setup.hs configure + runghc Setup.hs sdist # Neither 'haddock' nor 'hscolour' seem to work properly. doc: src/*.hs diff --git a/spline3.cabal b/spline3.cabal index 6b72561..fe196f1 100644 --- a/spline3.cabal +++ b/spline3.cabal @@ -3,9 +3,18 @@ version: 0.0 cabal-version: >= 1.8 author: Michael Orlitzky maintainer: Michael Orlitzky +license: GPL-3 +license-file: doc/LICENSE +homepage: http://michael.orlitzky.com/code/spline3.php +bug-reports: mailto:michael@orlitzky.com +category: Math synopsis: - An implementation of the Sorokina and Zeilfelder - trivariate spline scheme on type-6 tetrahedral partitions. + A parallel implementation of the Sorokina/Zeilfelder spline scheme. +description: + Interpolate volumetric data according to "Local quasi-interpolation + by cubic C^1 splines on type-6 tetrahedral partitions." The defaults + are tailored to the MRI data contained in data/mri.bin from the + Stanford volume data archive at http://graphics.stanford.edu/data/voldata/. build-type: Simple flag HPC -- 2.44.2