-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
38 lines (23 loc) · 854 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Package information
pkgid = agda-text-xml
dependencies = agda-web-uri
# Dependency URIs
export agda-web-uri ?= https://github.com/agda/agda-web-uri/tarball/v0.0.4
# Include the Agda makefile
export agdamakefileuri ?= https://github.com/agda/agda-makefile/raw/v0.0.6/Makefile
export agdamakefile ?= $(CURDIR)/build/share/make/agda-makefile-0.0.6
export CURL ?= curl
$(agdamakefile):
$(CURL) --create-dir -o $@ $(agdamakefileuri)
include $(agdamakefile)
# Targets
.PHONY: install-agda install-html install-doc install clean veryclean
install-agda: $(agdadir)/Text/XML/Everything.agdai
install-html: $(htmldir)/Text.XML.Everything.html
install-doc:
$(INSTALL) -D README $(docdir)
$(INSTALL) -D LICENSE $(docdir)
install: install-dependencies install-agda install-html install-doc
clean: clean-dependencies
veryclean:
rm -rf $(builddir)