From 4b4617abb83e1eda2547ba57b029e4448aa16699 Mon Sep 17 00:00:00 2001 From: L3D Date: Tue, 18 Jan 2022 21:17:07 +0100 Subject: [PATCH] Add gitignore and makefile --- .gitignore | 3 +++ Makefile | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..47560db --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +**.pdf +**.png +**.swp diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..727cba1 --- /dev/null +++ b/Makefile @@ -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