summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-18 13:06:02 +0100
committerdavidovski <david@davidovski.xyz>2022-07-18 13:06:02 +0100
commitd20a2478df0a5a5f48d64c52af510bfa30bd004a (patch)
treec9e972ae3d656d090da740ef150306f79a26ccd8 /Makefile
parent786633be3f57f66eecaa5534f0a9703373439138 (diff)
added build.shmk1.7
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 251d39b..3289a2c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,15 +3,19 @@ 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
- ln -sf xipkg ${DESTDIR}${PREFIX}/bin/xi
- git describe --always > ${DESTDIR}${PREFIX}/lib/xipkg/VERSION
+#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
install-config:
mkdir -p $(DESTDIR)${CONFDIR}/xipkg.d/
cp default.conf $(DESTDIR)${CONFDIR}/xipkg.d/
cp xipkg.conf $(DESTDIR)${CONFDIR}/xipkg.conf
+
+
+install: install-config
+ ./build.shmk
+ ln -sf xipkg ${DESTDIR}${PREFIX}/bin/xi