diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index 8ddd3e6..319f718 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -23,6 +23,9 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: Get Inkscape + run: sudo apt-get update && sudo apt-get install -y inkscape + - name: Setup PDM uses: pdm-project/setup-pdm@v2 diff --git a/Makefile b/Makefile index daadd5c..c5094cd 100644 --- a/Makefile +++ b/Makefile @@ -19,8 +19,8 @@ all: ## generate all of the logo pngs pngs: $(PNGS) -./docs/png/%.png: ./docs/svg/%.svg - convert $< -scale 1024 $@ +docs/png/%.png: docs/svg/%.svg + @inkscape --export-filename=$@ $< .PHONY: logos ## generate all of the logo svgs @@ -61,4 +61,4 @@ help: ## try `make help` if (helpMessage) { helpCommand = substr($$1, 0, index($$1, ":")-1); \ helpMessage = substr(lastLine, RSTART + 3, RLENGTH); \ printf "\033[36m%-9s\033[0m - %s\n", \ - helpCommand, helpMessage;}} { lastLine = $$0 }' $(MAKEFILE_LIST) \ No newline at end of file + helpCommand, helpMessage;}} { lastLine = $$0 }' $(MAKEFILE_LIST)