pyratelog

personal blog
git clone git://git.pyratebeard.net/pyratelog.git
Log | Files | Refs | README

commit 5556c4b3d8c8c3c60cb70131d9dc6645cd8c891c
parent 8a772772ef23a851d227c4f8f8473e0dd984894f
Author: pyratebeard <root@pyratebeard.net>
Date:   Tue, 25 Jan 2022 08:00:23 +0000

phony

Diffstat:
Mentry/20220124-make_believe.md | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/entry/20220124-make_believe.md b/entry/20220124-make_believe.md @@ -6,6 +6,8 @@ override TAG = $(shell basename $$PWD) VER := latest IMAGE_ID = $(shell eval sudo docker images -qa ${TAG} | head -n 1) +.PHONY build test buildtest deploy + build: sudo docker build -t ${TAG}:${VER} . @@ -50,6 +52,8 @@ I wrote this Makefile for use with `terraform` NAME := test VARS := terraform +.PHONY init plan apply planapply refresh destroy clean + init: terraform init @@ -102,6 +106,8 @@ Then I got more adventurous and decided to write a Makefile for use with my `dri SERVER := inventory FILESDIR = files +.PHONY patch pkgs create_user ssh_keys new_server sshd_config fail2ban dots secure commission + env-%: cd $* ; if [ ! -d ${FILESDIR} ] ; then mkdir ${FILESDIR} ; fi cp env $*/${FILESDIR}