summaryrefslogtreecommitdiff
path: root/deprecated/old-lib/resource/Makefile
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2009-12-09 09:47:16 +0000
committeraarne <aarne@chalmers.se>2009-12-09 09:47:16 +0000
commitc8ceed08efcc0bdc1fcbd89bce643d9f52f0991b (patch)
tree5f0b314341c129eba1bc67b8b887fb8a4486fad8 /deprecated/old-lib/resource/Makefile
parent101df06f6c8380328d4266adadac3ab6d1bac0b3 (diff)
moving a few things to deprecated
Diffstat (limited to 'deprecated/old-lib/resource/Makefile')
-rw-r--r--deprecated/old-lib/resource/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/deprecated/old-lib/resource/Makefile b/deprecated/old-lib/resource/Makefile
new file mode 100644
index 000000000..7c7d1900f
--- /dev/null
+++ b/deprecated/old-lib/resource/Makefile
@@ -0,0 +1,49 @@
+RUNGHC=runghc
+RUNMAKE=$(RUNGHC) Make.hs
+
+.PHONY: all present alltenses lang api math test demo synopsis link compiled clean
+
+all: link present alltenses math
+
+present:
+ $(RUNMAKE) present lang
+ $(RUNMAKE) present api
+
+alltenses:
+ $(RUNMAKE) lang
+ $(RUNMAKE) api
+
+lang:
+ $(RUNMAKE) lang
+
+api:
+ $(RUNMAKE) api
+
+math:
+ $(RUNMAKE) math
+
+compat:
+ gf -batch */Compatibility*.gf
+ cp -p */Compatibility*.gfo ../alltenses/
+ cp -p */Compatibility*.gfo ../present/
+# $(RUNMAKE) present compat
+# $(RUNMAKE) compat
+
+test:
+ $(RUNMAKE) test
+
+demo:
+ $(RUNMAKE) demo
+
+synopsis:
+ cd doc ; $(RUNGHC) MkSynopsis ; cd ..
+
+link:
+ chmod a+x mkPresent
+
+compiled:
+ (cd .. && tar -zcf resource-compiled.tar.gz prelude alltenses present mathematical)
+
+clean:
+ $(RUNMAKE) clean
+