summaryrefslogtreecommitdiff
path: root/Makefile
blob: 9ae35fbc1db3b3b59a5b8d20aacd4d3fb83d3636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PREFIX=/usr
CONFDIR=/etc

.DEFAULT_GOAL := build

build:
	@./build.shmk build

install-config:
	mkdir -p $(DESTDIR)${CONFDIR}/xipkg.d/
	cp default.conf $(DESTDIR)${CONFDIR}/xipkg.d/
	cp xipkg.conf $(DESTDIR)${CONFDIR}/xipkg.conf


install: build install-config
	@./build.shmk install
	ln -sf xipkg ${DESTDIR}${PREFIX}/bin/xi

clean:
	@./build.shmk clean