Commit c96b0f48 authored by Lorenzo Setale's avatar Lorenzo Setale
Browse files

moves makefile definitions into a new file for apt repository

parent 019d9d9b
......@@ -27,21 +27,6 @@ prepare_dir: clean
cp -aR ./static/* ./dist
.PHONY: prepare
collect_deb_packages:
# This will move al the debian packages built/downloaded into the directory
# to be built together in a repository
cp build/*.deb dist/apt/
.PHONY: collect_deb_packages
repository_apt:
cd dist; \
apt-ftparchive -c ../Releases.conf packages apt > apt/Packages ;\
cat apt/Packages | gzip -9c > apt/Packages.gz ;\
bzip2 -kf apt/Packages ; \
apt-ftparchive -c ../Releases.conf release apt > apt/Release ; \
gpg --yes -abs -u ${GPG_KEY_ID} -o apt/Release.gpg apt/Release
.PHONY: repository_apt
packages: download_orion build_ipfs_deb collect_deb_packages repository_apt
.PHONY: packages
......
collect_deb_packages:
mkdir -p dist/apt/
# This will move al the debian packages built/downloaded into the directory
# to be built together in a repository
cp build/*.deb dist/apt/
cp build/deb/*/*.deb dist/apt/
.PHONY: collect_deb_packages
repository_apt:
cd dist; \
apt-ftparchive -c ../Releases.conf packages apt > apt/Packages ;\
cat apt/Packages | gzip -9c > apt/Packages.gz ;\
bzip2 -kf apt/Packages ; \
apt-ftparchive -c ../Releases.conf release apt > apt/Release ; \
gpg --yes -abs -u ${GPG_KEY_ID} -o apt/Release.gpg apt/Release
.PHONY: repository_apt
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