Skip to content

Commit

Permalink
improve Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-demin committed Nov 29, 2024
1 parent c275520 commit 8871e32
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ MKDIR = mkdir -p
CP = cp -r
RM = rm -rf

all: $(IMAGES) $(CONTENT)
all: $(CONTENT)

img: $(IMAGES)

$(SITE)/%: %
@echo ">> Copying $<"
Expand All @@ -30,6 +32,7 @@ $(SITE)/%.html $(SITE)/%/index.html: md/%.md

img/%.png: svg/%.svg
@echo ">> Converting $<"
@$(MKDIR) $(@D)
@$(INKSCAPE) $< | pngquant - > $@

serve:
Expand Down

0 comments on commit 8871e32

Please sign in to comment.