2020-06-13 03:23:04 +02:00
|
|
|
#import all shared make vars
|
|
|
|
PRAWNOS_ROOT := $(shell git rev-parse --show-toplevel)
|
|
|
|
include $(PRAWNOS_ROOT)/scripts/common.mk
|
2020-05-27 01:02:03 +02:00
|
|
|
|
|
|
|
|
2020-06-13 03:23:04 +02:00
|
|
|
VERSION := $(shell cd src/; dpkg-parsechangelog --show-field Version)
|
|
|
|
|
|
|
|
xsecurelock_$(VERSION)_armhf.deb:
|
|
|
|
@echo Building $@
|
2020-05-27 01:02:03 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
|