Import Upstream version 20180207
[hcoop/debian/mlton.git] / lib / mllpt-lib / Makefile
CommitLineData
7f918cf1
CE
1## Copyright (C) 2011,2016,2018 Matthew Fluet.
2 #
3 # MLton is released under a BSD-style license.
4 # See the file MLton-LICENSE for details.
5 ##
6
7FIND := find
8GZIP := gzip
9PATCH := patch
10TAR := tar
11
12######################################################################
13######################################################################
14
15all: ml-lpt/README
16
17ml-lpt/README: ml-lpt.tgz ml-lpt.patch
18 rm -rf ml-lpt
19 $(GZIP) -dc ml-lpt.tgz | $(TAR) xf -
20 $(FIND) ml-lpt -name '._*' -prune -exec rm -f '{}' ';'
21 chmod -R a+r ml-lpt
22 chmod -R g-s ml-lpt
23 $(PATCH) -s -d ml-lpt -p1 < ml-lpt.patch
24 touch $@ # ml-lpt/README not created/updated by patch
25
26.PHONY: clean
27clean:
28 ../../bin/clean