mirror of
https://github.com/arvidn/libtorrent.git
synced 2026-05-07 00:10:28 -04:00
15 lines
305 B
Bash
Executable File
15 lines
305 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -x
|
|
|
|
# echo pull version from version header
|
|
VERSION=$(grep "#define LIBTORRENT_VERSION " ../include/libtorrent/version.hpp | awk '{ print $3 }')
|
|
# strip quotes
|
|
VERSION=${VERSION%\"}
|
|
VERSION=${VERSION#\"}
|
|
mkdir -p version/${VERSION}
|
|
TARGET=version/${VERSION}
|
|
|
|
make stage WEB_PATH=${TARGET}
|
|
|