From ed0529ef9320283436237cd774cc2bc08255597e Mon Sep 17 00:00:00 2001 From: merakor Date: Fri, 24 Jul 2020 10:23:46 +0000 Subject: Makefile: fix install syntax FossilOrigin-Name: 2be7d11c67aa98a80808101709ea21e0c666854f956f7362d76f1f4acd3436d2 --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index fa0c1c6..830fb0a 100644 --- a/Makefile +++ b/Makefile @@ -17,12 +17,12 @@ clean: rm -f ${BIN} ${OBJ} install: all - install -Dm755 ${DESTDIR}${BINDIR}/cpt-lib lib.sh - install -Dm755 ${DESTDIR}${BINDIR}/cpt cpt + install -Dm755 lib.sh ${DESTDIR}${BINDIR}/cpt-lib + install -Dm755 cpt ${DESTDIR}${BINDIR}/cpt for bin in tools/* ${BIN} contrib/*; do \ - install -Dm755 ${DESTDIR}${BINDIR}/$${bin##*/} $${bin}; done - for man in man/*.1; do install -Dm644 ${DESTDIR}${MAN1}/$${man##*/} $${man}; done - for doc in doc/*; do install -Dm644 ${DESTDIR}${CPTDOC}/$${doc##*/} $${doc}; done + install -Dm755 $${bin} ${DESTDIR}${BINDIR}/$${bin##*/}; done + for man in man/*.1; do install -Dm644 $${man} ${DESTDIR}${MAN1}/$${man##*/}; done + for doc in doc/*; do install -Dm644 $${doc} ${DESTDIR}${CPTDOC}/$${doc##*/}; done uninstall: rm -f ${DESTDIR}${BINDIR}/cpt \ -- cgit v1.2.3