apt_repository.mk 697 Bytes
Newer Older
Lorenzo Setale's avatar
Lorenzo Setale committed
1
GPG_KEY_ID := 7BD7D7DD3E220E0EB7389AF39731AA2171096268
2

3
4
5
6
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
7
8
	-cp build/*.deb dist/apt/
	-cp build/deb/*/*.deb dist/apt/
9
	-cp dist/orion/*.deb dist/apt/
10
	-cp static/orion/*.deb dist/apt/
11
12
13
14
15
16
17
18
19
20
.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