diff options
author | davidovski <david@davidovski.xyz> | 2022-07-27 22:39:37 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-07-27 22:39:37 +0100 |
commit | d24c110caab48002edb5a3e2c41876e6e0a7a6ed (patch) | |
tree | 4108f336d9813dc0ce005bb059dba40d43bdf1bf | |
parent | d20a2478df0a5a5f48d64c52af510bfa30bd004a (diff) |
tidied makefilev1.7.1
-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 |