2020-05-27 01:02:03 +02:00
|
|
|
SHELL := /bin/bash
|
2020-05-28 04:37:31 +02:00
|
|
|
PRAWNOS_ROOT := $(shell cd ../../../; pwd)
|
2020-05-27 01:02:03 +02:00
|
|
|
PBUILDER_CHROOT=$(PRAWNOS_ROOT)/build/prawnos-pbuilder-armhf-base.tgz
|
|
|
|
PBUILDER_RC=$(PRAWNOS_ROOT)/resources/BuildResources/pbuilder/prawnos-pbuilder.rc
|
|
|
|
|
|
|
|
all: xsecurelock-deb
|
|
|
|
|
|
|
|
.PHONY: xsecurelock-deb
|
|
|
|
xsecurelock-deb:
|
|
|
|
cd src/; pdebuild --configfile $(PBUILDER_RC) \
|
|
|
|
--buildresult .. \
|
|
|
|
-- \
|
|
|
|
--basetgz $(PBUILDER_CHROOT) \
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -rf *.upload
|
|
|
|
rm -rf *.deb
|
|
|
|
rm -rf *.changes
|
|
|
|
rm -rf *.dsc
|
|
|
|
rm -rf *.build
|
|
|
|
rm -rf *.debian.tar.xz
|
|
|
|
rm -rf *.buildinfo
|
|
|
|
|
|
|
|
.PHONY: upload
|
|
|
|
upload:
|
|
|
|
dput deb.prawnos.com *.changes
|
|
|
|
|
|
|
|
|