Build: remove slashes after DESTDIR from commands in uninstall target
authorEmanuele Torre <torreemanuele6@gmail.com>
Tue, 16 Jun 2020 14:17:08 +0000 (16:17 +0200)
committerEmanuele Torre <torreemanuele6@gmail.com>
Tue, 16 Jun 2020 16:12:09 +0000 (18:12 +0200)
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