PrawnOS-nonfree/packages/filesystem/xsecurelock/makefile

30 lines
645 B
Makefile
Raw Normal View History

SHELL := /bin/bash
2020-05-28 04:37:31 +02:00
PRAWNOS_ROOT := $(shell cd ../../../; pwd)
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