Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | ## Copyright (C) 2009,2016,2018 Matthew Fluet. |
2 | # Copyright (C) 1999-2006 Henry Cejtin, Matthew Fluet, Suresh | |
3 | # Jagannathan, and Stephen Weeks. | |
4 | # Copyright (C) 1997-2000 NEC Research Institute. | |
5 | # | |
6 | # MLton is released under a BSD-style license. | |
7 | # See the file MLton-LICENSE for details. | |
8 | ## | |
9 | ||
10 | FIND := find | |
11 | GZIP := gzip | |
12 | PATCH := patch | |
13 | TAR := tar | |
14 | ||
15 | ###################################################################### | |
16 | ###################################################################### | |
17 | ||
18 | all: ckit/README.mlton | |
19 | ||
20 | ckit/README.mlton: ckit.tgz ckit.patch | |
21 | rm -rf ckit | |
22 | $(GZIP) -dc ckit.tgz | $(TAR) xf - | |
23 | $(FIND) ckit -name '._*' -prune -exec rm -f '{}' ';' | |
24 | chmod -R a+r ckit | |
25 | chmod -R g-s ckit | |
26 | chmod a-x ckit/src/ast/simplify-assign-ops.sml | |
27 | $(PATCH) -s -d ckit -p1 < ckit.patch | |
28 | ||
29 | .PHONY: clean | |
30 | clean: | |
31 | ../../bin/clean |