summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: e2fad80394541a86331530a9611fde6e4c38233a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This makex file is just a convenient interface for some useful commands.

.PHONY: all build doc env install

all: cgserver.nix

build:
	load-env-cgserver-1 cabal build

doc:
	load-env-cgserver-1 cabal haddock --executable

env:
	nix-env -f env.nix -i

install:
	nix-env -f . -i

%.nix: %.cabal
	cabal2nix . > $@