make: Add some convenience targets
This commit is contained in:
11
Makefile
11
Makefile
@@ -17,6 +17,17 @@ dryrun: $(ansible)
|
|||||||
update: $(ansible)
|
update: $(ansible)
|
||||||
$(ansible_run) --tags update_system
|
$(ansible_run) --tags update_system
|
||||||
|
|
||||||
|
.PHONY: reboot
|
||||||
|
reboot:
|
||||||
|
sudo reboot
|
||||||
|
|
||||||
|
.PHONY: poweroff
|
||||||
|
poweroff:
|
||||||
|
sudo poweroff
|
||||||
|
|
||||||
|
.PHONY: weekend
|
||||||
|
weekend: | update poweroff
|
||||||
|
|
||||||
.PHONY: packages
|
.PHONY: packages
|
||||||
packages: $(ansible)
|
packages: $(ansible)
|
||||||
$(ansible_run) --tags packages
|
$(ansible_run) --tags packages
|
||||||
|
|||||||
Reference in New Issue
Block a user