summaryrefslogtreecommitdiff
path: root/Makefile
blob: 6e41ce3c26b11a7eb2c3d1bc7c5ce6b56e801275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SOURCE=src

PREFIX=/usr
CONFDIR=/etc

install: install-config
	mkdir -p ${DESTDIR}${PREFIX}/{lib/xipkg,bin}
	install -m755 ${SOURCE}/*.sh ${DESTDIR}${PREFIX}/lib/xipkg/
	install -m755 ${SOURCE}/xi.sh ${DESTDIR}${PREFIX}/bin/xi


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