summaryrefslogtreecommitdiff
path: root/Makefile
blob: 6e841195d9776b261242e5298ee7b5f8ffabf062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# SPDX-FileCopyrightText: 2024 Matthew Fennell <matthew@fennell.dev>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

.PHONY: all lint install

INSTALL_DIR = /usr/local/share/ansible/roles/bootstrap

all:
	make lint
	sudo make install

lint:
	precious --ascii lint --all

install:
	rm -rf $(INSTALL_DIR)
	mkdir -p $(INSTALL_DIR)
	cp -r defaults files handlers tasks templates $(INSTALL_DIR)