aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-07-24 10:23:46 +0000
committermerakor <cem@ckyln.com>2020-07-24 10:23:46 +0000
commited0529ef9320283436237cd774cc2bc08255597e (patch)
tree432c7e5c947f8f494172f0494829c5add0d5f1ce /Makefile
parent68f492eeae576754d6d18d0a2fa45bfa547b1f3c (diff)
downloadcpt-ed0529ef9320283436237cd774cc2bc08255597e.tar.gz
Makefile: fix install syntax
FossilOrigin-Name: 2be7d11c67aa98a80808101709ea21e0c666854f956f7362d76f1f4acd3436d2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files 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 \