From 20f5001b3c851b7c2716a56610f486b64d564617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Mon, 5 Oct 2020 22:00:36 +0200 Subject: [PATCH] make: Add some convenience targets --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index 3ad4d32..88f2441 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,17 @@ dryrun: $(ansible) update: $(ansible) $(ansible_run) --tags update_system +.PHONY: reboot +reboot: + sudo reboot + +.PHONY: poweroff +poweroff: + sudo poweroff + +.PHONY: weekend +weekend: | update poweroff + .PHONY: packages packages: $(ansible) $(ansible_run) --tags packages