projects
/
xmenu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
685ca30
)
Build: remove slashes after DESTDIR from commands in uninstall target
author
Emanuele Torre
<torreemanuele6@gmail.com>
Tue, 16 Jun 2020 14:17:08 +0000
(16:17 +0200)
committer
Emanuele Torre
<torreemanuele6@gmail.com>
Tue, 16 Jun 2020 16:12:09 +0000
(18:12 +0200)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index
97cab1f
..
7430e09
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-21,7
+21,7
@@
install: all
install -D -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1/${PROG}.1
uninstall:
install -D -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX}/man1/${PROG}.1
uninstall:
- rm -f ${DESTDIR}
/
${PREFIX}/bin/${PROG}
- rm -f ${DESTDIR}
/
${MANPREFIX}/man1/${PROG}.1
+ rm -f ${DESTDIR}${PREFIX}/bin/${PROG}
+ rm -f ${DESTDIR}${MANPREFIX}/man1/${PROG}.1
.PHONY: all clean install uninstall
.PHONY: all clean install uninstall