summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7132f45..7494f14 100644
--- a/Makefile
+++ b/Makefile
@@ -21,4 +21,12 @@ install: release
install -m 755 $(TARGET_EXEC) $(DESTDIR)$(PREFIX)/bin/
clean:
- rm -f runwhenidle \ No newline at end of file
+ rm -f runwhenidle
+
+debian-package:
+ docker build --build-arg HOST_UID=`id -u` --tag runwhenidle-ubuntu2204-build distro-packages/ubuntu22.04
+ docker run --user build -v .:/opt/src/runwhenidle runwhenidle-ubuntu2204-build /opt/src/runwhenidle/distro-packages/ubuntu22.04/build.sh
+
+clean-debian-package:
+ rm -rf package-build
+ docker rmi -f runwhenidle-ubuntu2204-build