--- /dev/null
+#!/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 $@