diff --git a/Makefile b/Makefile index 3b69ee3..8d9e8d0 100644 --- a/Makefile +++ b/Makefile @@ -32,3 +32,7 @@ clean: .PHONY: install install: $(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)${PREFIX}/lume + +.PHONY: deb +deb: + $(Q) dpkg-buildpackage -us -uc -b diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f02aca2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +lume (0.1.0) UNRELEASED; urgency=medium + + * Fake entry. + + -- Ryan Cavicchioni Thu, 08 Apr 2021 02:14:36 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..1b49db4 --- /dev/null +++ b/debian/control @@ -0,0 +1,6 @@ +Source: lume +Maintainer: Ryan Cavicchioni + +Package: lume +Architecture: any +Description: A CLI tool for the LIFX HTTP API diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3c27d98 --- /dev/null +++ b/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +DISTRIBUTION = $(shell lsb_release -sr) +VERSION = 0.1.0 +PACKAGEVERSION = $(VERSION)-0~$(DISTRIBUTION)0 + +%: + dh $@ + +override_dh_auto_clean: +override_dh_auto_test: +override_dh_auto_build: +override_dh_auto_install: + make + make install DESTDIR=debian/lume + +override_dh_gencontrol: + dh_gencontrol -- -v$(PACKAGEVERSION)