diff options
author | Louie S <louie@example.com> | 2023-12-29 15:45:39 -0500 |
---|---|---|
committer | Louie S <louie@example.com> | 2023-12-29 15:45:39 -0500 |
commit | b75ce875030134d21d2ede398457b7c1910b11bf (patch) | |
tree | bbdddae5548ae9e4b677b513fa4653446730c9ce /Makefile | |
parent | b1477105319de37088743c4c3ffae7c871189864 (diff) |
Watched through ch. 9
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 |