Skip to content
Snippets Groups Projects
Commit af49a9f7 authored by Simon McVittie's avatar Simon McVittie
Browse files

build: Work from a libcapsule tarball

parent 13c10bf8
No related branches found
No related tags found
No related merge requests found
...@@ -7,14 +7,13 @@ install: install-amd64 install-i386 ...@@ -7,14 +7,13 @@ install: install-amd64 install-i386
install -m644 libcapsule/debian/copyright relocatable-install/sources/capsule-capture-libs.txt install -m644 libcapsule/debian/copyright relocatable-install/sources/capsule-capture-libs.txt
install -m644 /usr/share/doc/zlib1g/copyright relocatable-install/sources/libz.txt install -m644 /usr/share/doc/zlib1g/copyright relocatable-install/sources/libz.txt
install -m644 /usr/share/doc/libelf1/copyright relocatable-install/sources/libelf.txt install -m644 /usr/share/doc/libelf1/copyright relocatable-install/sources/libelf.txt
cd libcapsule; \ install -m644 libcapsule-*.tar.* relocatable-install/sources/
git archive \
--prefix libcapsule-$$(git describe --match='v*')/ \
-o $(CURDIR)/relocatable-install/sources/libcapsule-$$(git describe --match='v*').tar.gz \
HEAD
cd relocatable-install/sources; apt-get --download-only source elfutils zlib cd relocatable-install/sources; apt-get --download-only source elfutils zlib
libcapsule/configure: libcapsule/configure:
rm -fr libcapsule
tar -zxvf libcapsule-*.tar.*
mv libcapsule-*/ libcapsule
set -e; cd libcapsule; NOCONFIGURE=1 ./autogen.sh set -e; cd libcapsule; NOCONFIGURE=1 ./autogen.sh
_build/%/config.status: libcapsule/configure Makefile _build/%/config.status: libcapsule/configure Makefile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment