Commit 43ae350c authored by Andrey V.Kosteltsev's avatar Andrey V.Kosteltsev

Added calculation sha1sum for EGLIBC tarballs

parent 68c5751f
......@@ -13,7 +13,9 @@ tarballs = eglibc-$(VERSION).tar.bz2
tarballs += eglibc-localedef-$(VERSION).tar.bz2
tarballs += eglibc-ports-$(VERSION).tar.bz2
all: $(tarballs)
sha1s = $(addsuffix .sha1sum, $(tarballs))
all: $(tarballs) $(sha1s)
.PHONY: downloads_clean
......@@ -34,6 +36,12 @@ $(tarballs):
rm -rf eglibc-$(VERSION)-r$(REVISION) ; \
fi )
$(sha1s): %.tar.bz2.sha1sum : %.tar.bz2
@for tarball in $< ; do \
echo -e "\n======= Calculate '$$tarball' sha1sum =======\n" ; \
sha1sum --binary $$tarball > $$tarball.sha1sum ; \
done
downloads_clean:
@rm -rf $(tarballs)
@rm -rf $(tarballs) $(sha1s)
@rm -rf eglibc-$(VERSION)-r$(REVISION)
......@@ -14,7 +14,9 @@ tarballs = eglibc-$(VERSION).tar.bz2
tarballs += eglibc-localedef-$(VERSION).tar.bz2
tarballs += eglibc-ports-$(VERSION).tar.bz2
all: $(tarballs)
sha1s = $(addsuffix .sha1sum, $(tarballs))
all: $(tarballs) $(sha1s)
.PHONY: downloads_clean
......@@ -35,6 +37,12 @@ $(tarballs):
rm -rf eglibc-$(VERSION)-r$(REVISION) ; \
fi )
$(sha1s): %.tar.bz2.sha1sum : %.tar.bz2
@for tarball in $< ; do \
echo -e "\n======= Calculate '$$tarball' sha1sum =======\n" ; \
sha1sum --binary $$tarball > $$tarball.sha1sum ; \
done
downloads_clean:
@rm -rf $(tarballs)
@rm -rf eglibc-$(VERSION)-r$(REVISION)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment