aboutsummaryrefslogtreecommitdiff
path: root/mk/target.mk
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-04-04 16:23:43 +0000
committersimonmar <unknown>2002-04-04 16:23:43 +0000
commit2b39cd941c80d2603f2480684c45dd31f9256831 (patch)
tree87a4fdb2752c8a99e54e50e45c1bfa8c2bf80577 /mk/target.mk
[haddock @ 2002-04-04 16:23:43 by simonmar]
This is Haddock, my stab at a Haskell documentation tool. It's not quite ready for release yet, but I'm putting it in the repository so others can take a look. It uses a locally modified version of the hssource parser, extended with support for GHC extensions and documentation annotations.
Diffstat (limited to 'mk/target.mk')
-rw-r--r--mk/target.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/mk/target.mk b/mk/target.mk
new file mode 100644
index 00000000..dcba624e
--- /dev/null
+++ b/mk/target.mk
@@ -0,0 +1,17 @@
+#-----------------------------------------------------------------------------
+# $Id: target.mk,v 1.1 2002/04/04 16:23:42 simonmar Exp $
+# target.mk project stub
+#
+
+# We need to set TOP to be the TOP that the next level up expects!
+# The TOP variable is reset after the inclusion of the fptools
+# boilerplate, so we stash TOP away first:
+HADDOCK_TOP := $(TOP)
+TOP:=$(TOP)/..
+
+include $(TOP)/mk/target.mk
+
+HADDOCK_INPLACE = $(HADDOCK_TOP)/src/haddock-inplace
+
+# Reset TOP
+TOP:=$(HADDOCK_TOP)