]> git.donarmstrong.com Git - debbugs-presentations.git/blobdiff - figures/Makefile
move debconf14 presentation
[debbugs-presentations.git] / figures / Makefile
diff --git a/figures/Makefile b/figures/Makefile
new file mode 100644 (file)
index 0000000..0164c81
--- /dev/null
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+all: openlogo-crop.pdf bug_global_layout.pdf
+
+%-crop.pdf: %.pdf
+       pdfcrop $<
+
+%.pdf: %.svg
+       inkscape -A $@ $<
+       pdfcrop $@ $@
+
+%.png: %.svg
+       inkscape -e $@ -d 300 $<
+
+
+schema.png: draw_schema.pl
+       perl -I ~/projects/debbugs/debbugs $< $@
+
+# dak_schema.png: draw_dak_schema.pl
+#      cat ~/projects/debian/dak/setup/current_schema.sql| \
+#              grep -v 'CREATE SCHEMA'|grep -v 'SET'|\
+#              perl $< /dev/stdin $@
+
+dak_schema.png: draw_dak_schema.pl
+       wget -O dak_schema.sql "http://git.donarmstrong.com/?p=dak.git;a=blob_plain;f=setup/schema_68.sql;h=afe94e9b474bc85334c12c50f33017c55ed4e373;hb=HEAD"
+       perl $< dak_schema.sql $@