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:
parent
7ea335ec10
commit
56274ec64e
@ -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 {} \;
|
||||
|
BIN
svtplay-dl
BIN
svtplay-dl
Binary file not shown.
Loading…
Reference in New Issue
Block a user