aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-01-31 22:46:15 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-01-31 22:46:15 +0100
commit789a847092e5bb865a19abd6b55dd3d7f5ab9470 (patch)
tree057c95ef561c57d70ad3cb0b98b9abde6690cb19
parentFix quoting error (diff)
downloadgentoo-ecosystem-789a847092e5bb865a19abd6b55dd3d7f5ab9470.tar.gz
gentoo-ecosystem-789a847092e5bb865a19abd6b55dd3d7f5ab9470.tar.bz2
gentoo-ecosystem-789a847092e5bb865a19abd6b55dd3d7f5ab9470.zip
Add a makefile
-rw-r--r--.gitignore4
-rw-r--r--Makefile13
2 files changed, 16 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 8f30195..a562626 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
-gentoo-.*
+gentoo.pdf
+gentoo.png
+gentoo.svg
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7779f9f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+# needs media-gfx/gnuclad, media-gfx/inkscape, media-gfx/imagemagick
+
+
+all: gentoo.pdf gentoo.svg gentoo.png
+
+gentoo.svg: gentoo.csv gentoo.conf
+ gnuclad gentoo.csv gentoo.svg gentoo.conf
+
+gentoo.pdf: gentoo.svg
+ inkscape gentoo.svg -A gentoo.pdf
+
+gentoo.png: gentoo.pdf
+ convert -geometry 2000 -density 200 gentoo.pdf gentoo.png