summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-08-06 19:40:36 +0200
committerLars-Dominik Braun <lars@6xq.net>2014-08-06 19:40:36 +0200
commit94e0cb0fbabd0ed3da7dd90808b5c7385d9e419b (patch)
tree671a3b127bd85bbea6d8ca6d5856e09c371f7598
parente3ee058917c8d200f8664ed3034080905d83f3fe (diff)
downloadpianobar-windows-94e0cb0fbabd0ed3da7dd90808b5c7385d9e419b.tar.gz
pianobar-windows-94e0cb0fbabd0ed3da7dd90808b5c7385d9e419b.tar.bz2
pianobar-windows-94e0cb0fbabd0ed3da7dd90808b5c7385d9e419b.zip
Makefile: Avoid double path separator (//)
Causes problems on Windows/Cygwin. Fixes #471.
-rw-r--r--Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 6821ed4..289b1e6 100644
--- a/Makefile
+++ b/Makefile
@@ -152,18 +152,18 @@ install: pianobar install-libpiano
else
install: pianobar
endif
- install -d ${DESTDIR}/${BINDIR}/
- install -m755 pianobar ${DESTDIR}/${BINDIR}/
- install -d ${DESTDIR}/${MANDIR}/man1/
- install -m644 contrib/pianobar.1 ${DESTDIR}/${MANDIR}/man1/
+ install -d ${DESTDIR}${BINDIR}/
+ install -m755 pianobar ${DESTDIR}${BINDIR}/
+ install -d ${DESTDIR}${MANDIR}/man1/
+ install -m644 contrib/pianobar.1 ${DESTDIR}${MANDIR}/man1/
install-libpiano:
- install -d ${DESTDIR}/${LIBDIR}/
- install -m644 libpiano.so.0.0.0 ${DESTDIR}/${LIBDIR}/
- ln -s libpiano.so.0.0.0 ${DESTDIR}/${LIBDIR}/libpiano.so.0
- ln -s libpiano.so.0 ${DESTDIR}/${LIBDIR}/libpiano.so
- install -m644 libpiano.a ${DESTDIR}/${LIBDIR}/
- install -d ${DESTDIR}/${INCDIR}/
- install -m644 src/libpiano/piano.h ${DESTDIR}/${INCDIR}/
+ install -d ${DESTDIR}${LIBDIR}/
+ install -m644 libpiano.so.0.0.0 ${DESTDIR}${LIBDIR}/
+ ln -s libpiano.so.0.0.0 ${DESTDIR}${LIBDIR}/libpiano.so.0
+ ln -s libpiano.so.0 ${DESTDIR}${LIBDIR}/libpiano.so
+ install -m644 libpiano.a ${DESTDIR}${LIBDIR}/
+ install -d ${DESTDIR}${INCDIR}/
+ install -m644 src/libpiano/piano.h ${DESTDIR}${INCDIR}/
.PHONY: install install-libpiano test debug all