mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 13:44:14 +01:00
make: just for looks
Editor didn't treat the lone "'" right...
This commit is contained in:
parent
213e6bfa41
commit
1c9dcfa403
@ -20,7 +20,7 @@ PYTHON ?= /usr/bin/env python3
|
|||||||
VERSION = $(shell git describe --tags --dirty --always 2>/dev/null || echo $(LATEST_RELEASE)-unknown)
|
VERSION = $(shell git describe --tags --dirty --always 2>/dev/null || echo $(LATEST_RELEASE)-unknown)
|
||||||
|
|
||||||
svtplay-dl: $(PYFILES)
|
svtplay-dl: $(PYFILES)
|
||||||
@# Verify that there's no .build already \
|
@# "Verify that there's no .build already"
|
||||||
! [ -d .build ] || { \
|
! [ -d .build ] || { \
|
||||||
echo "ERROR: build already in progress? (or remove $(CURDIR)/.build/)"; \
|
echo "ERROR: build already in progress? (or remove $(CURDIR)/.build/)"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
@ -33,7 +33,7 @@ svtplay-dl: $(PYFILES)
|
|||||||
install $$py .build/$$py; \
|
install $$py .build/$$py; \
|
||||||
done
|
done
|
||||||
|
|
||||||
# Add git version info to __version__, seen in --version
|
@# Add git version info to __version__, seen in --version
|
||||||
sed -i -e 's/^__version__ = \(.*\)$$/__version__ = "$(VERSION)"/' \
|
sed -i -e 's/^__version__ = \(.*\)$$/__version__ = "$(VERSION)"/' \
|
||||||
.build/svtplay_dl/__init__.py
|
.build/svtplay_dl/__init__.py
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user