aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-07-24 10:43:37 +0000
committermerakor <cem@ckyln.com>2020-07-24 10:43:37 +0000
commit7306a264b889fd6145a201a5cd6a731d80d40a78 (patch)
tree7a0ee29b657672d2ae088edacb22f92cb64efc11 /Makefile
parentdb779acfe1319f7cdbdc0c493f6e6fd6ae2412ef (diff)
downloadcpt-7306a264b889fd6145a201a5cd6a731d80d40a78.tar.gz
Makefile: fix uninstall
FossilOrigin-Name: 1960af97f7739e2305f5fc7d7dea6b6a79aab5c8d0bdbf9539ebd7a126a198aa
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 830fb0a..197e4c8 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ uninstall:
rm -f ${DESTDIR}${BINDIR}/cpt \
${DESTDIR}${BINDIR}/cpt-lib
for bin in ${BIN} tools/* contrib/*; do \
- rm -f ${DESTDIR}${BINDIR}/$${bin}; done
+ rm -f ${DESTDIR}${BINDIR}/$${bin##*/}; done
rm -f ${DESTDIR}${MAN1}/kiss.1 ${DESTDIR}${MAN1}/kiss.1
rm -f ${DESTDIR}${MAN1}/kiss-contrib.1 ${DESTDIR}${MAN1}/kiss-contrib.1
rm -rf ${DESTDIR}${CPTDOC}