commit 318f809497f8948cc1bc0386eb52e6a2997975c0
parent 93a25d265a3160877c261b2842e504300bd279fb
Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 18 Mar 2017 15:11:29 +0100
Don't work with empty directories.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -15,6 +15,7 @@ options:
apulse:
@echo checking out the apulse repository
+ @mkdir -p apulse
@if [ ! -e apulse/.git ]; \
then \
git clone ${APULSEREPO} apulse; \
@@ -32,6 +33,7 @@ apulse:
pulseaudio:
@echo checking out the pulseaudio repository
+ @mkdir -p pulseaudio
@if [ ! -e pulseaudio/.git ]; \
then \
git clone ${PULSEREPO} pulseaudio; \
@@ -43,10 +45,12 @@ pulseaudio:
headers: pulseaudio
@echo copying over the pulseaudio headers for installation
+ @mkdir -p include/pulse
@cp pulseaudio/src/pulse/*.h include/pulse
pkgconfig:
@echo copying over the pulseaudio pkg-config pc files
+ @mkdir -p pkgconfig
@cp pulseaudio/*.pc pkgconfig
clean: