diff options
-rw-r--r-- | Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,14 +1,11 @@ -SOURCE=src PREFIX=/usr CONFDIR=/etc -#install: install-config -# mkdir -p ${DESTDIR}${PREFIX}/bin -# mkdir -p ${DESTDIR}${PREFIX}/lib/xipkg -# install -m755 ${SOURCE}/*.sh ${DESTDIR}${PREFIX}/lib/xipkg/ -# install -m755 ${SOURCE}/xi.sh ${DESTDIR}${PREFIX}/bin/xipkg -# git describe --always > ${DESTDIR}${PREFIX}/lib/xipkg/VERSION +.DEFAULT_GOAL := build + +build: + @./build.shmk build install-config: mkdir -p $(DESTDIR)${CONFDIR}/xipkg.d/ @@ -16,6 +13,9 @@ install-config: cp xipkg.conf $(DESTDIR)${CONFDIR}/xipkg.conf -install: install-config - ./build.shmk +install: build install-config + @./build.shmk install ln -sf xipkg ${DESTDIR}${PREFIX}/bin/xi + +clean: + @./build.shmk clean |