aboutsummaryrefslogtreecommitdiff
path: root/src/haddock.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/haddock.sh')
-rw-r--r--src/haddock.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/haddock.sh b/src/haddock.sh
new file mode 100644
index 00000000..b0b534f0
--- /dev/null
+++ b/src/haddock.sh
@@ -0,0 +1,10 @@
+# Mini-driver for Haddock
+
+# needs the following variables:
+# HADDOCKCSS
+# HADDOCKBIN
+
+case $* in
+*--css*) $HADDOCKBIN ${1+"$@"};;
+*) $HADDOCKBIN --css $HADDOCKCSS ${1+"$@"};;
+esac