Add a makefile so we can easily build esoteric commands

This commit is contained in:
June Tate-Gans 2021-05-23 13:14:48 -05:00
parent e052ddd525
commit bd57e171dd

24
Makefile Normal file
View File

@ -0,0 +1,24 @@
VERSION := `grep "VERSION" g13gui/common.py |awk '{ print $$2 }' |sed 's/'//g'`
GITBRANCH ?= master
PIPENV := pipenv
PYTHON := `which python3`
PIP := $(PYTHON) -m pip
all:
export GITBRANCH=master
debuild
debclean
build:
gbp buildpackage --git-debian-branch=$(GITBRANCH)
clean:
debclean
build-source: clean
gbp buildpackage -S --git-debian-branch=$(GITBRANCH)
mkdir build
mv ../g13gui_$(VERSION)* build
release: build-source