From b75ce875030134d21d2ede398457b7c1910b11bf Mon Sep 17 00:00:00 2001 From: Louie S Date: Fri, 29 Dec 2023 15:45:39 -0500 Subject: Watched through ch. 9 --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d34007c..4010311 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ MARKC=marked +TARGETS=index.html docker_cheat_sheet.html kubernetes_cheat_sheet.html yaml_cheat_sheet.html + .PHONY: all -all: index.html docker_cheat_sheet.html yaml_cheat_sheet.html +all: $(TARGETS) index.html: index.md docker_cheat_sheet.html yaml_cheat_sheet.html $(MARKC) -o $@ $< @@ -9,16 +11,19 @@ index.html: index.md docker_cheat_sheet.html yaml_cheat_sheet.html docker_cheat_sheet.html: docker_cheat_sheet.md yaml_cheat_sheet.html $(MARKC) -o $@ $< +kubernetes_cheat_sheet.html: kubernetes_cheat_sheet.md + $(MARKC) -o $@ $< + yaml_cheat_sheet.html: yaml_cheat_sheet.md $(MARKC) -o $@ $< .PHONY: bdist -bdist: index.html docker_cheat_sheet.html yaml_cheat_sheet.html +bdist: $(TARGETS) mkdir -p dist tar -czf dist/docker_containers_and_kubernetes_fundamentals_personal_notes_$(shell date +%Y%m%d%H%M%S).tar.gz $^ .PHONY: sdist -sdist: index.md docker_cheat_sheet.md yaml_cheat_sheet.md README +sdist: index.md docker_cheat_sheet.md kubernetes_cheat_sheet.md yaml_cheat_sheet.md README mkdir -p dist tar -czf dist/docker_containers_and_kubernetes_fundamentals_personal_notes_$(shell date +%Y%m%d%H%M%S).src.tar.gz $^ Makefile -- cgit