From 94e0cb0fbabd0ed3da7dd90808b5c7385d9e419b Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 6 Aug 2014 19:40:36 +0200 Subject: Makefile: Avoid double path separator (//) Causes problems on Windows/Cygwin. Fixes #471. --- Makefile | 22 +++++++++++----------- 1 file 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 -- cgit v1.2.3