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