From 9131081a6e3024e8497c0a84e98b8d51d242ee6e Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Sun, 24 Apr 2022 03:44:12 +0100 Subject: [PATCH] reorg, add makefile --- .gitignore | 2 +- Makefile | 9 +++++++++ a.svg => src/a.svg | 0 b.svg => src/b.svg | 0 c.svg => src/c.svg | 0 d.old_rs.svg => src/d.old_rs.svg | 0 .../d.old_rs.svg.2022_04_23_17_59_30.0.svg | 0 d.svg => src/d.svg | 0 e.svg => src/e.svg | 0 f.svg => src/f.svg | 0 g.svg => src/g.svg | 0 h.svg => src/h.svg | 0 r.svg => src/r.svg | 0 13 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 Makefile rename a.svg => src/a.svg (100%) rename b.svg => src/b.svg (100%) rename c.svg => src/c.svg (100%) rename d.old_rs.svg => src/d.old_rs.svg (100%) rename d.old_rs.svg.2022_04_23_17_59_30.0.svg => src/d.old_rs.svg.2022_04_23_17_59_30.0.svg (100%) rename d.svg => src/d.svg (100%) rename e.svg => src/e.svg (100%) rename f.svg => src/f.svg (100%) rename g.svg => src/g.svg (100%) rename h.svg => src/h.svg (100%) rename r.svg => src/r.svg (100%) diff --git a/.gitignore b/.gitignore index e33609d..1fcb152 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -*.png +out diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8c129db --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +TARGET_DIR=./out +SRC_DIR=./src + +all: + mkdir -p out + make $(shell ls src) + +$(shell ls src): + inkscape -C -o "$(TARGET_DIR)/$@.png" "$(SRC_DIR)/$@" diff --git a/a.svg b/src/a.svg similarity index 100% rename from a.svg rename to src/a.svg diff --git a/b.svg b/src/b.svg similarity index 100% rename from b.svg rename to src/b.svg diff --git a/c.svg b/src/c.svg similarity index 100% rename from c.svg rename to src/c.svg diff --git a/d.old_rs.svg b/src/d.old_rs.svg similarity index 100% rename from d.old_rs.svg rename to src/d.old_rs.svg diff --git a/d.old_rs.svg.2022_04_23_17_59_30.0.svg b/src/d.old_rs.svg.2022_04_23_17_59_30.0.svg similarity index 100% rename from d.old_rs.svg.2022_04_23_17_59_30.0.svg rename to src/d.old_rs.svg.2022_04_23_17_59_30.0.svg diff --git a/d.svg b/src/d.svg similarity index 100% rename from d.svg rename to src/d.svg diff --git a/e.svg b/src/e.svg similarity index 100% rename from e.svg rename to src/e.svg diff --git a/f.svg b/src/f.svg similarity index 100% rename from f.svg rename to src/f.svg diff --git a/g.svg b/src/g.svg similarity index 100% rename from g.svg rename to src/g.svg diff --git a/h.svg b/src/h.svg similarity index 100% rename from h.svg rename to src/h.svg diff --git a/r.svg b/src/r.svg similarity index 100% rename from r.svg rename to src/r.svg