1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 13:44:14 +01:00

build: Avoid using non-portable install -D

The following error was reported when trying to build on OSX:

 install: illegal option -- D

We now instead create the directories in a first, and copy in a second
step.
This commit is contained in:
Olof Johansson 2015-07-26 12:48:23 +02:00
parent 7ea335ec10
commit 56274ec64e
2 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,10 @@ svtplay-dl: $(PYFILES)
mkdir -p .build
@# Stage the files in .build for postprocessing
for py in $(PYFILES); do install -D $$py .build/$$py; done
for py in $(PYFILES); do \
install -d ".build/$${py%/*}"; \
install $$py .build/$$py; \
done
@# reset timestamps, to avoid non-determinism in zip file
find .build/ -exec touch -m -t 198001010000 {} \;

Binary file not shown.