mirror of
https://github.com/troglobit/libite.git
synced 2026-11-06 15:50:57 +00:00
Import release related fixes to top Makefile from libuEv
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
990ee6874c
commit
0813084aa7
1 file changed
+2
-2
+2
-2
@@ -6,7 +6,7 @@ SUBDIRS = src test
|
|||||||
|
|
||||||
## Check if tagged in git
|
## Check if tagged in git
|
||||||
release-hook:
|
release-hook:
|
||||||
@if [ ! `git tag | grep $(PACKAGE_VERSION)` ]; then \
|
@if [ ! `git tag -l v$(PACKAGE_VERSION) | grep $(PACKAGE_VERSION)` ]; then \
|
||||||
echo; \
|
echo; \
|
||||||
printf "\e[1m\e[41mCannot find release tag $(PACKAGE_VERSION)\e[0m\n"; \
|
printf "\e[1m\e[41mCannot find release tag $(PACKAGE_VERSION)\e[0m\n"; \
|
||||||
printf "\e[1m\e[5mDo release anyway?\e[0m "; read yorn; \
|
printf "\e[1m\e[5mDo release anyway?\e[0m "; read yorn; \
|
||||||
@@ -27,7 +27,7 @@ package:
|
|||||||
@debuild -uc -us -B --lintian-opts --profile debian -i -I --show-overrides
|
@debuild -uc -us -B --lintian-opts --profile debian -i -I --show-overrides
|
||||||
|
|
||||||
## Target to run when building a release
|
## Target to run when building a release
|
||||||
release: release-hook distcheck package
|
release: release-hook distcheck
|
||||||
@for file in $(DIST_ARCHIVES); do \
|
@for file in $(DIST_ARCHIVES); do \
|
||||||
md5sum $$file > ../$$file.md5; \
|
md5sum $$file > ../$$file.md5; \
|
||||||
sha256sum $$file > ../$$file.sha256; \
|
sha256sum $$file > ../$$file.sha256; \
|
||||||
|
|||||||
Reference in new issue
Block a user