mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -04:00
Add a makefile so we can easily build esoteric commands
This commit is contained in:
parent
e052ddd525
commit
bd57e171dd
24
Makefile
Normal file
24
Makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user