summaryrefslogtreecommitdiff
path: root/old-lib/resource/Makefile
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2009-06-22 15:39:08 +0000
committeraarne <aarne@chalmers.se>2009-06-22 15:39:08 +0000
commite89fdae2fa1626348d8025824a7469252fa85e42 (patch)
treec7d46bbd0494043b4bd6f917a25a7687517d0547 /old-lib/resource/Makefile
parent3049b59b35b25381a7c6787444165c200d66e08b (diff)
next-lib renamed to lib, lib to old-lib
Diffstat (limited to 'old-lib/resource/Makefile')
-rw-r--r--old-lib/resource/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/old-lib/resource/Makefile b/old-lib/resource/Makefile
new file mode 100644
index 000000000..7c7d1900f
--- /dev/null
+++ b/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
+