Add gitignore and makefile

This commit is contained in:
L3D 2022-01-18 21:17:07 +01:00
parent 795bdaec74
commit 4b4617abb8
Signed by: L3D
GPG Key ID: CD08445BFF4313D1
2 changed files with 7 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
**.pdf
**.png
**.swp

4
Makefile Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
all:
find . -type f -name '*.svg' -print0 | xargs -0 -n 1 -P 6 inkscape --actions="export-filename:$1.png; export-do;" --export-dpi 96 $1
find . -type f -name '*.svg' -print0 | xargs -0 -n 1 -P 6 inkscape --actions="export-filename:$1.pdf; export-do;" --export-dpi 600 $1