aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-07-07 22:24:07 -0400
committerRob Austein <sra@hactrn.net>2015-07-07 22:24:07 -0400
commit453c56a5dcfcfb0484b6802a493a96f49be9d1d3 (patch)
tree29d6361a257ab37e1917e48ff54fc70ec0a68118 /Makefile
parent7ba8b1d20a158b5c4cbfabdeb5cba6601cab69f6 (diff)
Add meta-package.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index f960bad..c897944 100644
--- a/Makefile
+++ b/Makefile
@@ -61,8 +61,8 @@ CRYPTECH_PACKAGE_VERSION := ${CRYPTECH_VERSION}~${HEAD_TIME}~${HEAD_HASH}
DCH = test -f debian/changelog || \
EDITOR=true VISUAL=true TZ=UTC DEBEMAIL='APT Builder Robot <aptbot@cryptech.is>' \
- dch --create --package cryptech-novena-$(1) --newversion '${CRYPTECH_PACKAGE_VERSION}' \
- 'Version ${CRYPTECH_VERSION} of Cryptech $(2) for the Novena PVT-1 development board.'
+ dch --create --package cryptech-novena$(strip $(1)) --newversion '${CRYPTECH_PACKAGE_VERSION}' \
+ '$(strip Version ${CRYPTECH_VERSION} of Cryptech $(2) for Novena PVT-1 development board.)'
# Parameters controlling maintenance of the reprepro repository. The
# "reprepro" target initializes the repository if it doesn't exist.
@@ -93,7 +93,7 @@ UPLOAD_URI := rsync://apt.cryptech.is/novena/
export GNUPGHOME
-all: init sw rtl
+all: init sw rtl meta
enchilada: all reprepro upload
@@ -105,15 +105,21 @@ clean:
git submodule foreach 'git clean -dfx'
sw:
- cd sw; $(call DCH,sw,software tools)
+ cd sw; $(call DCH, -sw, software tools)
cd sw; debuild -S -uc -us
cd sw; debuild -b -uc -us -aarmhf
rtl:
- cd core; $(call DCH,rtl,RTL bitstream)
+ cd core; $(call DCH, -rtl, RTL bitstream)
cd core; debuild -S -uc -us
cd core; debuild -b -uc -us -aarmhf
+meta:
+ cd meta; $(call DCH, , meta package)
+ cd meta; debuild -S -uc -us
+ cd meta; debuild -b -uc -us -aarmhf
+
+
reprepro: ${REPOSITORY}/conf/distributions ${REPOSITORY}/conf/options
umask ${REPO_UMASK}; for f in *.changes; do reprepro -b ${REPOSITORY} include ${CODENAME} $$f; done
@@ -126,4 +132,4 @@ upload:
${RSYNC} --ignore-existing ${REPOSITORY}/ ${UPLOAD_URI}
${RSYNC} --delete --delete-delay ${REPOSITORY}/ ${UPLOAD_URI}
-.PHONY: all init clean sw rtl reprepro upload enchilada
+.PHONY: all init clean sw rtl meta reprepro upload enchilada