mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-14 03:23:43 +00:00
Fixed #103: symlinks without .bin suffix
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -6,9 +6,11 @@
|
|||||||
/pkg/arch/ustreamer-*.pkg.tar.xz
|
/pkg/arch/ustreamer-*.pkg.tar.xz
|
||||||
/pkg/arch/ustreamer-*.pkg.tar.zst
|
/pkg/arch/ustreamer-*.pkg.tar.zst
|
||||||
/src/build/
|
/src/build/
|
||||||
|
/src/*.bin
|
||||||
/python/build/
|
/python/build/
|
||||||
|
/ustreamer
|
||||||
|
/ustreamer-dump
|
||||||
/config.mk
|
/config.mk
|
||||||
/vgcore.*
|
/vgcore.*
|
||||||
/*.sock
|
/*.sock
|
||||||
*.so
|
*.so
|
||||||
*.bin
|
|
||||||
|
|||||||
15
Makefile
15
Makefile
@@ -26,21 +26,22 @@ endef
|
|||||||
# =====
|
# =====
|
||||||
all:
|
all:
|
||||||
+ make apps
|
+ make apps
|
||||||
|
ifneq ($(call optbool,$(WITH_PYTHON)),)
|
||||||
+ make python
|
+ make python
|
||||||
|
else
|
||||||
|
@ true
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
make -C src
|
make -C src
|
||||||
@ ln -sf src/*.bin .
|
@ ln -sf src/ustreamer.bin ustreamer
|
||||||
|
@ ln -sf src/ustreamer-dump.bin ustreamer-dump
|
||||||
|
|
||||||
|
|
||||||
python:
|
python:
|
||||||
ifneq ($(call optbool,$(WITH_PYTHON)),)
|
|
||||||
make -C python
|
make -C python
|
||||||
@ ln -sf python/build/lib.*/*.so .
|
@ ln -sf python/build/lib.*/*.so .
|
||||||
else
|
|
||||||
@ true
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
@@ -104,9 +105,11 @@ clean-all: linters clean
|
|||||||
- docker run --rm \
|
- docker run --rm \
|
||||||
--volume `pwd`:/src \
|
--volume `pwd`:/src \
|
||||||
-it $(_LINTERS_IMAGE) bash -c "cd src && rm -rf linters/{.tox,.mypy_cache}"
|
-it $(_LINTERS_IMAGE) bash -c "cd src && rm -rf linters/{.tox,.mypy_cache}"
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf pkg/arch/pkg pkg/arch/src pkg/arch/v*.tar.gz pkg/arch/ustreamer-*.pkg.tar.{xz,zst}
|
rm -rf pkg/arch/pkg pkg/arch/src pkg/arch/v*.tar.gz pkg/arch/ustreamer-*.pkg.tar.{xz,zst}
|
||||||
rm -f *.bin *.so
|
rm -f ustreamer ustreamer-dump *.so
|
||||||
make -C src clean
|
make -C src clean
|
||||||
make -C python clean
|
make -C python clean
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user