File: Makefile

package info (click to toggle)
ocaml-extunix 0.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 624 kB
  • sloc: ml: 3,278; ansic: 3,245; makefile: 24
file content (25 lines) | stat: -rw-r--r-- 398 bytes parent folder | download
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
build:
	dune build @install

clean:
	dune clean

doc:
	dune build @doc

test:
	dune runtest

VERSION=0.4.2
NAME=ocaml-extunix-$(VERSION)

release:
	git tag -a -m $(VERSION) v$(VERSION)
	git archive --prefix=$(NAME)/ v$(VERSION) | gzip > $(NAME).tar.gz
	gpg -a -b $(NAME).tar.gz -o $(NAME).tar.gz.asc

dune-release:
	dune-release tag
	dune-release

.PHONY: build clean doc release dune-release test